diff --git a/build-testing.xml b/build-testing.xml index f70b56c..17ad984 100644 --- a/build-testing.xml +++ b/build-testing.xml @@ -24,8 +24,16 @@ - * mvn package - * ant getlibs - * cp build.properties.sample build.properties + - * Depending on which platform you are on, do either + - set JAVA_COMPILER=NONE + - or + - setenv JAVA_COMPILER NONE - * ant -lib lib/junit-3.8.1.jar -f build-testing.xml test - + - Note that we have to run Ant without the JIT compiler to get around bugs in + - the 1.2 JVM. That's why we need to set JAVA_COMPILER to NONE. + - See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4240622 + - - Note that this build file uses the optional task. While the - task "adapter" class comes by default with ant 1.6+, the junit libraries - (3.8.1 or later) are also required to be made available to ant. This