Browse Source

Copy - which is to save compiling files which have already been compiled

now goes to the right place.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268578 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
eac9c2d1b2
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      bootstrap.bat
  2. +2
    -2
      bootstrap.sh

+ 2
- 1
bootstrap.bat View File

@@ -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 build mkdir build
if not exist build\classes mkdir build\classes

echo.
echo ... Compiling Ant Classes
@@ -56,7 +57,7 @@ copy %TOOLS%\ant\types\*.properties %CLASSDIR%\org\apache\tools\ant\types
echo.
echo ... Building Ant Distribution

xcopy /s/q %CLASSDIR% build
xcopy /s/q %CLASSDIR% build\classes

%JAVA% %ANT_OPTS% org.apache.tools.ant.Main bootstrap



+ 2
- 2
bootstrap.sh View File

@@ -58,7 +58,7 @@ fi
export CLASSPATH

mkdir -p ${CLASSDIR}
mkdir -p build
mkdir -p build/classes

echo ... Compiling Ant Classes

@@ -77,7 +77,7 @@ cp src/main/org/apache/tools/ant/types/defaults.properties \

echo ... Building Ant Distribution

cp -r ${CLASSDIR} build
cp -r ${CLASSDIR} build/classes

${JAVA_HOME}/bin/java -classpath ${CLASSPATH} org.apache.tools.ant.Main \
-buildfile build.xml bootstrap


Loading…
Cancel
Save