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 1.0 kB

1234567891011121314151617181920212223242526272829303132333435
  1. @if not exist boot mkdir boot
  2. @if not exist boot\tasks mkdir boot\tasks
  3. @if not exist boot\xml mkdir boot\xml
  4. @if not exist temp mkdir temp
  5. @if not exist temp\core mkdir temp\core
  6. @if not exist temp\xml mkdir temp\xml
  7. @if not exist temp\tasks mkdir temp\tasks
  8. javac -classpath "" -d temp\core core\org\apache\tools\ant\*.java core\org\apache\tools\ant\cmdline\*.java core\*.java
  9. @if errorlevel 1 goto end
  10. jar -cfm boot\ant.jar core\META-INF\manifest.mf -C temp\core .
  11. @if errorlevel 1 goto end
  12. javac -classpath "boot\ant.jar;jaxp\jaxp.jar;jaxp\crimson.jar" -d temp\xml xml\org\apache\tools\ant\xml\*.java
  13. @if errorlevel 1 goto end
  14. jar -cf boot\xml\ant-xml.jar -C temp\xml .
  15. @if errorlevel 1 goto end
  16. javac -classpath "boot\ant.jar" -d temp\tasks tasks\org\apache\tools\ant\tasks\*.java
  17. @if errorlevel 1 goto end
  18. copy tasks\java2sdk.ant temp\tasks\java2sdk.ant
  19. jar -cf boot\tasks\java2sdk.jar -C temp\tasks .
  20. @if errorlevel 1 goto end
  21. copy jaxp\jaxp.jar boot\xml\jaxp.jar
  22. copy jaxp\crimson.jar boot\xml\crimson.jar
  23. @rmdir /s /q temp
  24. :end