vhardy 2003/07/02 01:18:07 Modified: . build.bat Log: Modified build.bat so that it now works if ANT is already installed. Use the ant.bat file which should be in the PATH if ant was installed Revision Changes Path 1.10 +8 -1 xml-batik/build.bat Index: build.bat =================================================================== RCS file: /home/cvs/xml-batik/build.bat,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- build.bat 24 Jul 2002 00:02:27 -0000 1.9 +++ build.bat 2 Jul 2003 08:18:07 -0000 1.10 @@ -14,7 +14,6 @@ if not "%ANT_HOME%" == "" goto gotAntHome set ANT_HOME=. -:gotAntHome :: ----- Set Up The Runtime Classpath ----------------------------------------- @@ -27,6 +26,14 @@ %JAVA_HOME%\bin\java.exe %ANT_OPTS% -classpath %CP% org.apache.tools.ant.Main -emacs -Dant.home=%ANT_HOME% %1 -Dargs="%2 %3 %4 %5 %6 %7 %8 %9" :: ----- Cleanup the environment ---------------------------------------------- + +goto cleanup + +:gotAntHome + +call ant -Dargs="%2 %3 %4 %5 %6 %7 %8 %9" %1 + +goto cleanup :cleanup set CP=
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]