git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268567 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -7,7 +7,10 @@ if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap | |||||
| call bootstrap.bat | call bootstrap.bat | ||||
| :runAnt | :runAnt | ||||
| set CLASSPATH=bootstrap\lib\ant.jar;lib\parser.jar;lib\jaxp.jar;%CLASSPATH% | |||||
| set LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar | |||||
| for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat "%%i" | |||||
| set CLASSPATH=%LOCALCLASSPATH%;%CLASSPATH% | |||||
| if not "%REAL_ANT_HOME%" == "" goto install_ant | if not "%REAL_ANT_HOME%" == "" goto install_ant | ||||
| call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 | call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||||
| goto cleanup | goto cleanup | ||||
| @@ -8,9 +8,20 @@ if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/ | |||||
| /bin/sh ./bootstrap.sh | /bin/sh ./bootstrap.sh | ||||
| fi | fi | ||||
| CLASSPATH=$CLASSPATH:lib/parser.jar:lib/jaxp.jar | |||||
| LOCALCLASSPATH=lib/parser.jar:lib/jaxp.jar | |||||
| # add in the dependency .jar files | |||||
| DIRLIBS=lib/optional/*.jar | |||||
| for i in ${DIRLIBS} | |||||
| do | |||||
| if [ "$i" != "${DIRLIBS}" ] ; then | |||||
| LOCALCLASSPATH=$LOCALCLASSPATH:"$i" | |||||
| fi | |||||
| done | |||||
| CLASSPATH=$LOCALCLASSPATH:$CLASSPATH | |||||
| export CLASSPATH | export CLASSPATH | ||||
| if [ "$REALANTHOME" != "" ] ; then | if [ "$REALANTHOME" != "" ] ; then | ||||
| ANT_INSTALL="-Dant.install=$REALANTHOME" | ANT_INSTALL="-Dant.install=$REALANTHOME" | ||||
| fi | fi | ||||
| @@ -429,9 +429,8 @@ | |||||
| Cleans up build and distribution directories | Cleans up build and distribution directories | ||||
| =================================================================== | =================================================================== | ||||
| --> | --> | ||||
| <target name="clean" depends="setup-distproperties"> | |||||
| <target name="clean"> | |||||
| <delete dir="${build.dir}" /> | <delete dir="${build.dir}" /> | ||||
| <delete dir="${dist.dir}" /> | |||||
| <delete dir="${dist.base}" /> | <delete dir="${dist.base}" /> | ||||
| <delete> | <delete> | ||||
| <fileset dir="." includes="**/*~" defaultexcludes="no"/> | <fileset dir="." includes="**/*~" defaultexcludes="no"/> | ||||