Table of Contents
This section contains instructions for project administrators.
Note: Our build process is currently broken for Windows machines (see "Making a File Release", step 6, "Make the release and put it into Subversion".)
These are the instructions to create a fresh build of all parts of DrJava, including the constituent libraries.
Check out trunk (svn co https://drjava.svn.sourceforge.net/svnroot/drjava/trunk
), or if you have trunk checked out, update it.
cd drjava
ant clean jar
cd ../platform
export DRJAVA_JAR=../drjava/drjava.jar
ant clean compile-??? jar
Note: Which compile-???
targets you can run depends on the platform
you are compiling on. You need to be on a Mac to run compile-mac and
on Windows to run compile-windows. Since the compiled classes are
stored in Subversion, you can always do
ant clean jar
to just get all the class files without recompiling.
cp platform.jar ../drjava/lib
cd ../plt
ant clean test jar
Copy the generated new plt.jar
file over all other plt.jar
files.
This can be done using
find .. -name plt.jar -not -samefile plt.jar | xargs -n 1 cp -v plt.jar
cd ../dynamicjava
ant clean test jar-base
cp dynamicjava-base.jar ../drjava/lib
cd ../javalanglevels
ant clean test jar-base
cp javalanglevels-base.jar ../drjava/lib
cd ..
Continue with the instructions below for building just DrJava, but not plt.jar, etc. from scrach.