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

1234567891011121314151617181920212223242526
  1. @echo off
  2. REM Copyright (c) 2000-2002 The Apache Software Foundation. All rights
  3. REM reserved.
  4. set REAL_ANT_HOME=%ANT_HOME%
  5. set ANT_HOME=bootstrap
  6. 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
  7. call bootstrap.bat
  8. 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
  9. echo Bootstrap FAILED
  10. goto cleanup
  11. :runAnt
  12. if not "%REAL_ANT_HOME%" == "" goto install_ant
  13. call bootstrap\bin\ant.bat -lib lib/optional %1 %2 %3 %4 %5 %6 %7 %8 %9
  14. goto cleanup
  15. :install_ant
  16. call bootstrap\bin\ant.bat -lib lib/optional -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=