git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271992 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -1,35 +0,0 @@ | |||||
| @if not exist boot mkdir boot | |||||
| @if not exist boot\tasks mkdir boot\tasks | |||||
| @if not exist boot\xml mkdir boot\xml | |||||
| @if not exist temp mkdir temp | |||||
| @if not exist temp\core mkdir temp\core | |||||
| @if not exist temp\xml mkdir temp\xml | |||||
| @if not exist temp\tasks mkdir temp\tasks | |||||
| javac -classpath "" -d temp\core core\org\apache\tools\ant\*.java core\org\apache\tools\ant\cmdline\*.java core\*.java | |||||
| @if errorlevel 1 goto end | |||||
| jar -cfm boot\ant.jar core\META-INF\manifest.mf -C temp\core . | |||||
| @if errorlevel 1 goto end | |||||
| javac -classpath "boot\ant.jar;jaxp\jaxp.jar;jaxp\crimson.jar" -d temp\xml xml\org\apache\tools\ant\xml\*.java | |||||
| @if errorlevel 1 goto end | |||||
| jar -cf boot\xml\ant-xml.jar -C temp\xml . | |||||
| @if errorlevel 1 goto end | |||||
| javac -classpath "boot\ant.jar" -d temp\tasks tasks\org\apache\tools\ant\tasks\*.java | |||||
| @if errorlevel 1 goto end | |||||
| copy tasks\java2sdk.ant temp\tasks\java2sdk.ant | |||||
| jar -cf boot\tasks\java2sdk.jar -C temp\tasks . | |||||
| @if errorlevel 1 goto end | |||||
| copy jaxp\jaxp.jar boot\xml\jaxp.jar | |||||
| copy jaxp\crimson.jar boot\xml\crimson.jar | |||||
| @rmdir /s /q temp | |||||
| :end | |||||
| @@ -1,39 +0,0 @@ | |||||
| #!/bin/sh | |||||
| if ! test -d boot ; then | |||||
| mkdir -p boot/tasks | |||||
| mkdir -p boot/xml | |||||
| fi | |||||
| if ! test -d temp ; then | |||||
| mkdir -p temp/core | |||||
| mkdir -p temp/xml | |||||
| mkdir -p temp/tasks | |||||
| fi | |||||
| if test -z "$JAVAC" ; then | |||||
| JAVAC=javac; | |||||
| fi | |||||
| TOOLS=core/org/apache/tools | |||||
| ${JAVAC} -d temp/core ${TOOLS}/ant/*.java \ | |||||
| ${TOOLS}/ant/cmdline/*.java \ | |||||
| core/*.java | |||||
| jar -cfm boot/ant.jar core/META-INF/manifest.mf -C temp/core . | |||||
| ${JAVAC} -classpath boot/ant.jar:jaxp/jaxp.jar:jaxp/crimson.jar -d temp/xml xml/org/apache/tools/ant/xml/*.java | |||||
| jar -cf boot/xml/ant-xml.jar -C temp/xml . | |||||
| ${JAVAC} -classpath boot/ant.jar -d temp/tasks tasks/org/apache/tools/ant/tasks/*.java | |||||
| cp tasks/java2sdk.ant temp/tasks/java2sdk.ant | |||||
| jar -cf boot/tasks/java2sdk.jar -C temp/tasks . | |||||
| cp jaxp/jaxp.jar boot/xml/jaxp.jar | |||||
| cp jaxp/crimson.jar boot/xml/crimson.jar | |||||
| #rm -rf temp | |||||
| @@ -1 +0,0 @@ | |||||
| java -classpath boot\ant.jar -Dant.project.path=.;jaxp ant ant:all | |||||
| @@ -1,3 +0,0 @@ | |||||
| #!/bin/sh | |||||
| java -classpath boot/ant.jar -Dant.project.path=.:jaxp ant ant:all | |||||
| @@ -1,3 +0,0 @@ | |||||
| if exist boot rmdir /s /q boot | |||||
| if exist temp rmdir /s /q temp | |||||
| if exist dist rmdir /s /q dist | |||||
| @@ -1,13 +0,0 @@ | |||||
| #!/bin/sh | |||||
| if test -d boot ; then | |||||
| rm -rf boot | |||||
| fi | |||||
| if test -d temp ; then | |||||
| rm -rf temp | |||||
| fi | |||||
| if test -d dist ; then | |||||
| rm -rf dist | |||||
| fi | |||||
| @@ -1,2 +0,0 @@ | |||||
| Main-Class: org.apache.tools.ant.cmdline.Main | |||||
| @@ -1,9 +0,0 @@ | |||||
| /* Copyright (c) 2000 The Apache Software Foundation */ | |||||
| import org.apache.tools.ant.cmdline.Main; | |||||
| public class ant { | |||||
| public static void main(String[] args) throws Exception { | |||||
| Main.main(args); | |||||
| } | |||||
| } | |||||
| @@ -1,10 +0,0 @@ | |||||
| <project name="java2sdk"> | |||||
| <target name="init"> | |||||
| <load name="echo" classname="org.apache.tools.ant.tasks.Echo"/> | |||||
| <load name="javacloader" classname="org.apache.tools.ant.tasks.JavacLoader"/> | |||||
| <javacloader/> | |||||
| <load name="jar" classname="org.apache.tools.ant.tasks.Jar"/> | |||||
| <load name="set" classname="org.apache.tools.ant.tasks.SetVariable"/> | |||||
| <load name="copy" classname="org.apache.tools.ant.tasks.Copy"/> | |||||
| </target> | |||||
| </project> | |||||