By defining the environment var JIKES (in DOS or *NIX) it tries to use jikes - assumed
to be on your path - gives a factor of 10 speed improvement on my humble Cyrix 686
200mhz under Linux2.2.14
Chris
Index: build-turbine.bat
===================================================================
RCS file: /products/cvs/turbine/turbine/build/build-turbine.bat,v
retrieving revision 1.19
diff -r1.19 build-turbine.bat
50a51,55
> REM set JIKES to be non-null (eg set JIKES=Y) to use the jikes compiler - its a bit
>faster
> REM get it from here...
>http://oss.software.ibm.com/developerworks/opensource/jikes/project
> set JAVAC=classic
> if not "%JIKES%" == "" set JAVAC=jikes
>
61c66
< %JAVA_HOME%\bin\java.exe -classpath "%CP%" org.apache.tools.ant.Main -buildfile
%BUILDFILE% %TARGET%
---
> %JAVA_HOME%\bin\java.exe -classpath "%CP%" -DJAVAC=%JAVAC% org.apache.tools.ant.Main
>-buildfile %BUILDFILE% %TARGET%
Index: build-turbine.sh
===================================================================
RCS file: /products/cvs/turbine/turbine/build/build-turbine.sh,v
retrieving revision 1.20
diff -r1.20 build-turbine.sh
54a55,62
> if test -z "${JIKES}" ; then
> JAVAC=classic
> else
> JAVAC=jikes
> fi
>
> echo JAVAC = ${JAVAC}
>
61c69
< ${JAVA_HOME}/bin/java -classpath ${CP} org.apache.tools.ant.Main -buildfile
${BUILDFILE} ${TARGET}
---
> ${JAVA_HOME}/bin/java -classpath ${CP} -DJAVAC=${JAVAC} org.apache.tools.ant.Main
>-buildfile ${BUILDFILE} ${TARGET}
Index: build-turbine.xml
===================================================================
RCS file: /products/cvs/turbine/turbine/build/build-turbine.xml,v
retrieving revision 1.16
diff -r1.16 build-turbine.xml
11c11
< <property name="build.compiler" value="classic"/>
---
> <property name="build.compiler" value="${JAVAC}"/>
"There is no spoon"
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]