Bleeding Edge reprap software.

I wanted to try the bleeding edge software that Adrian is working on. First I got the latest source

svn co http://reprap.svn.sourceforge.net/svnroot/reprap/trunk/reprap/host reprap

There is a setup-reprap-host-dev-environment.sh script that probably works but it downloads an installs versions of stuff, that i didn’t want cluttering up my system.

Also it seems that the intention is to distribute the files that get downloaded with the reprap source anyway, and indeed I already had them by now since they are in the svn repository.

In short I didn’t see the point of setup-reprap-host-dev-environment.sh and took it apon myself to “fix it” so that it uses the jar files included in reprap/lib

Firstly I modified the build-user.xml file so that the classpath was as specified in the manifest section as follows:

<manifest>
    <attribute name="Main-Class" value="${main-class}"/>
    <attribute name="Class-Path" value="./lib/j3dcore.jar ./lib/vecmath.jar ./lib/j3dutils.jar ./lib/RXTXcomm.jar ./lib/swing-layout-1.0.3.jar ./lib/j3d-org-java3d-all.jar ./lib/"/>
</manifest>

The next step was to set the CLASSPATH enviroment variable so that I could compile the source

export CLASSPATH="./lib/j3dcore.jar;./lib/vecmath.jar;./lib/j3dutils.jar;./lib/RXTXcomm.jar;./lib/swing-layout-1.0.3.jar;./lib/j3d-org-java3d-all.jar"

Then I compiled it and moved the resulting reprap.jar file into the current dir …

cd reprap
ant jar
mv jar/reprap.jar .

… so that it could be run by using

./reprap-host.sh
Advertisement