It seems that build.bat should ensure that the java used to build it is consistent with what is in JAVA_HOME.
This is the change that I made to build.bat to ensure this.


Dave

Index: build.bat
===================================================================
RCS file: /home/cvspublic/jakarta-ant/build.bat,v
retrieving revision 1.8
diff -r1.8 build.bat
15c15
< java -Dant.home="%ANT_HOME%" -classpath "%LOCALCLASSPATH%" %ANT_OPTS% org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
---
> %JAVA_HOME%/bin/java -Dant.home="%ANT_HOME%" -classpath "%LOCALCLASSPATH%" %ANT_OPTS% org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9


The command completed successfully.



Reply via email to