You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ru...@locus.apache.org on 2000/04/27 15:53:14 UTC
cvs commit: jakarta-ant build.bat
rubys 00/04/27 06:53:14
Modified: . build.bat
Log:
Added convenience for JDK 1.2+ users
Submitted by: Conor MacNeill <co...@m64.com>
Revision Changes Path
1.5 +1 -0 jakarta-ant/build.bat
Index: build.bat
===================================================================
RCS file: /home/cvs/jakarta-ant/build.bat,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.bat 2000/04/26 19:09:15 1.4
+++ build.bat 2000/04/27 13:53:14 1.5
@@ -1,3 +1,4 @@
@echo off
REM convience bat file to build with
+if exist %JAVA_HOME%\lib\tools.jar set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
java -classpath "%CLASSPATH%;lib\ant.jar" org.apache.tools.ant.Main %1 %2 %3 %4 %5