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 646 B

1234567891011121314151617181920212223
  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 CLASSPATH=%CLASSPATH%;lib\parser.jar;lib\jaxp.jar
  9. if not "%REAL_ANT_HOME%" == "" goto install_ant
  10. call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
  11. goto cleanup
  12. :install_ant
  13. call bootstrap\bin\ant.bat -Dant.install="%REAL_ANT_HOME%" %1 %2 %3 %4 %5 %6 %7 %8 %9
  14. rem clean up
  15. :cleanup
  16. set ANT_HOME=%REAL_ANT_HOME%
  17. set REAL_ANT_HOME=
  18. set CLASSPATH=%OLDCLASSPATH%
  19. set OLDCLASSPATH=