From 7e10c9fd4bfa2b72ad82bfbbdd6759248c428377 Mon Sep 17 00:00:00 2001 From: Dennis Lundberg Date: Sun, 22 Jul 2007 23:58:45 +0000 Subject: [PATCH] Add instructions that we have to run Ant without the JIT compiler to get around bugs in early JVMs. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@558565 13f79535-47bb-0310-9956-ffa450edef68 --- build-testing.xml | 8 ++++++++ 1 file changed, 8 insertions(+) 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