diff options
author | Conor MacNeill <conor@apache.org> | 2001-01-24 12:53:38 +0000 |
---|---|---|
committer | Conor MacNeill <conor@apache.org> | 2001-01-24 12:53:38 +0000 |
commit | 3848061ead8a32769856683314aa4c62304aeade (patch) | |
tree | c15af647d88500e387cbb0dfdb04687970d2aa1e /build.bat | |
parent | 4f09ca603f223438690ce7ad7debf327018bc39e (diff) | |
download | ant-3848061ead8a32769856683314aa4c62304aeade.tar.gz |
Update to new build scripts
Correct version string
call bootstrap.bat
Introduce an install-lite target
Move building of distributions files out of dist target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268514 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.bat')
-rwxr-xr-x | build.bat | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,8 +1,10 @@ @echo off +set _CP=CLASSPATH + if exist build\classes\org\apache\tools\ant\Main.class goto doBuild -bootstrap.bat %1 %2 %3 %4 %5 %6 %7 %8 +call bootstrap.bat %1 %2 %3 %4 %5 %6 %7 %8 :doBuild @@ -33,11 +35,11 @@ echo. :runAnt set NEW_ANT_HOME=%ANT_HOME% -if "x%ANT_HOME%" == "x" set NEW_ANT_HOME=dist +if "%ANT_HOME%" == "" set NEW_ANT_HOME=dist set CLASSPATH=%LOCALCLASSPATH% set LOCALCLASSPATH= %_JAVACMD% -classpath %CLASSPATH% %ANT_OPTS% org.apache.tools.ant.Main "-Dant.home=%NEW_ANT_HOME%" -logger org.apache.tools.ant.NoBannerLogger -emacs %1 %2 %3 %4 %5 %6 %7 %8 -set CLASSPATH= +set CLASSPATH=%_CP% set NEW_ANT_HOME= set _JAVACMD= |