You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.bat 793 B

123456789101112131415161718192021222324252627
  1. @echo off
  2. set OLDCLASSPATH=%CLASSPATH%
  3. set REAL_ANT_HOME=%ANT_HOME%
  4. set ANT_HOME=bootstrap
  5. if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap\bin\lcp.bat if exist bootstrap\bin\antRun.bat goto runAnt
  6. call bootstrap.bat
  7. :runAnt
  8. set LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar;bootstrap\lib\ant.jar
  9. for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat "%%i"
  10. set CLASSPATH=%LOCALCLASSPATH%;%CLASSPATH%
  11. set LOCALCLASSPATH=
  12. if not "%REAL_ANT_HOME%" == "" goto install_ant
  13. call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
  14. goto cleanup
  15. :install_ant
  16. call bootstrap\bin\ant.bat -Dant.install="%REAL_ANT_HOME%" %1 %2 %3 %4 %5 %6 %7 %8 %9
  17. rem clean up
  18. :cleanup
  19. set ANT_HOME=%REAL_ANT_HOME%
  20. set REAL_ANT_HOME=
  21. set CLASSPATH=%OLDCLASSPATH%
  22. set OLDCLASSPATH=