You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by David Forslund <dw...@lanl.gov> on 2000/07/05 17:43:12 UTC

build.bat suggested change

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.