now goes to the right place. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268578 13f79535-47bb-0310-9956-ffa450edef68master
@@ -41,6 +41,7 @@ if not "%OS%" == "Windows_NT" if exist %CLASSDIR%\nul deltree/y %CLASSDIR% | |||||
if not exist %CLASSDIR% mkdir %CLASSDIR% | if not exist %CLASSDIR% mkdir %CLASSDIR% | ||||
if not exist build mkdir build | if not exist build mkdir build | ||||
if not exist build\classes mkdir build\classes | |||||
echo. | echo. | ||||
echo ... Compiling Ant Classes | echo ... Compiling Ant Classes | ||||
@@ -56,7 +57,7 @@ copy %TOOLS%\ant\types\*.properties %CLASSDIR%\org\apache\tools\ant\types | |||||
echo. | echo. | ||||
echo ... Building Ant Distribution | echo ... Building Ant Distribution | ||||
xcopy /s/q %CLASSDIR% build | |||||
xcopy /s/q %CLASSDIR% build\classes | |||||
%JAVA% %ANT_OPTS% org.apache.tools.ant.Main bootstrap | %JAVA% %ANT_OPTS% org.apache.tools.ant.Main bootstrap | ||||
@@ -58,7 +58,7 @@ fi | |||||
export CLASSPATH | export CLASSPATH | ||||
mkdir -p ${CLASSDIR} | mkdir -p ${CLASSDIR} | ||||
mkdir -p build | |||||
mkdir -p build/classes | |||||
echo ... Compiling Ant Classes | echo ... Compiling Ant Classes | ||||
@@ -77,7 +77,7 @@ cp src/main/org/apache/tools/ant/types/defaults.properties \ | |||||
echo ... Building Ant Distribution | echo ... Building Ant Distribution | ||||
cp -r ${CLASSDIR} build | |||||
cp -r ${CLASSDIR} build/classes | |||||
${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main \ | ${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main \ | ||||
-buildfile build.xml bootstrap | -buildfile build.xml bootstrap | ||||