Browse Source

Made sure env vars are cleaned

Also added bootstrap jars to CLASSPATh because for some reason they were not being added otherwise ???


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268571 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
65bbae5ae3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      build.bat

+ 2
- 1
build.bat View File

@@ -7,9 +7,10 @@ if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap
call bootstrap.bat call bootstrap.bat


:runAnt :runAnt
set LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar
set LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar;bootstrap\lib\ant.jar
for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat "%%i" for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat "%%i"
set CLASSPATH=%LOCALCLASSPATH%;%CLASSPATH% set CLASSPATH=%LOCALCLASSPATH%;%CLASSPATH%
set LOCALCLASSPATH=


if not "%REAL_ANT_HOME%" == "" goto install_ant if not "%REAL_ANT_HOME%" == "" goto install_ant
call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9


Loading…
Cancel
Save