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.

bootstrap.bat 943 B

1234567891011121314151617181920212223242526272829
  1. @echo off
  2. REM Copyright (c) 2000-2001 The Apache Software Foundation. All rights
  3. REM reserved.
  4. REM cleanup curretn boot area
  5. if exist bin rmdir /s/q bin
  6. if exist bootstrap rmdir /s/q bootstrap
  7. if exist dist rmdir /s/q dist
  8. REM compile init jar
  9. mkdir bin\init
  10. javac -d bin\init src\java\init\org\apache\ant\init\*.java
  11. REM compile bootstrap classes
  12. mkdir bin\bootstrap
  13. javac -classpath bin\init -d bin\bootstrap src\java\bootstrap\org\apache\ant\bootstrap\*.java
  14. REM compiler builder classes
  15. mkdir bin\builder
  16. javac -classpath bin\init;bin\bootstrap -d bin\builder src\java\bootstrap\org\apache\ant\builder\*.java
  17. REM run bootstrap
  18. java -classpath bin\init;bin\bootstrap org.apache.ant.bootstrap.Bootstrap
  19. REM run full build using bootstrapped version
  20. java -classpath bootstrap\lib\start.jar;bootstrap\lib\init.jar org.apache.ant.start.Main %*
  21. REM Use the full build as the build used by the build script
  22. xcopy /s dist bootstrap