From fbf3fee31bd89d7a0c2413a9268bca62be936000 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Fri, 14 Jan 2000 13:50:24 +0000 Subject: [PATCH] Allow jakarta-ant to be build into an "ANT_HOME" structure in place. Move implicit tasks into an explicit init target git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267552 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.bat | 2 +- bootstrap.sh | 2 +- build.bat | 2 +- build.sh | 2 +- build.xml | 30 ++++++++++++++++++++---------- 5 files changed, 24 insertions(+), 14 deletions(-) diff --git a/bootstrap.bat b/bootstrap.bat index 7ade10082..115eb8949 100755 --- a/bootstrap.bat +++ b/bootstrap.bat @@ -1,7 +1,7 @@ @ECHO OFF echo BOOTSTRAPPING ANT DISTRIBUTION -set C=%CLASSPATH%;lib/projectx-tr2.jar +set C=%CLASSPATH%;lib/xml.jar set SRCDIR=src\main\org\apache\tools\ant set TMPDIR=tmp diff --git a/bootstrap.sh b/bootstrap.sh index 22f8a5b4c..b7e0c87db 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -5,7 +5,7 @@ fi SRCDIR=src/main/org/apache/tools/ant CLASSDIR=classes CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/classes.zip:${JAVA_HOME}/lib/tools.jar -CLASSPATH=${CLASSPATH}:lib/projectx-tr2.jar:src:${CLASSDIR} +CLASSPATH=${CLASSPATH}:lib/xml.jar:src:${CLASSDIR} mkdir -p ${CLASSDIR} diff --git a/build.bat b/build.bat index e9341f7e4..ebc5543db 100755 --- a/build.bat +++ b/build.bat @@ -1,3 +1,3 @@ @echo off REM convience bat file to build with -java -classpath "%CLASSPATH%;lib\ant.jar;lib\projectx-tr2.jar" org.apache.tools.ant.Main %1 %2 %3 %4 %5 +java -classpath "%CLASSPATH%;lib\ant.jar;lib\xml.jar" org.apache.tools.ant.Main %1 %2 %3 %4 %5 diff --git a/build.sh b/build.sh index 17c70c4d2..8b92bd3e8 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/sh -ADDL_CLASSPATH=./lib/ant.jar:./lib/projectx-tr2.jar +ADDL_CLASSPATH=./lib/ant.jar:./lib/xml.jar if [ "$CLASSPATH" != "" ] ; then CLASSPATH=$CLASSPATH:$ADDL_CLASSPATH diff --git a/build.xml b/build.xml index d4124f80f..07e64c810 100644 --- a/build.xml +++ b/build.xml @@ -2,16 +2,18 @@ - - - + + + + - - + + - + + - + @@ -21,13 +23,20 @@ + + + + + + + - + @@ -35,13 +44,14 @@ - + + - +