summaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorConor MacNeill <conor@apache.org>2001-02-03 14:23:47 +0000
committerConor MacNeill <conor@apache.org>2001-02-03 14:23:47 +0000
commita7b657bd9ae901100575a7434347e3d26090ec8f (patch)
tree9b058d1b9d7832a3a6f86c6e99c08471c90c9296 /build.bat
parent5566c880380f3ed300a54170d4dc504f0dc0d8d4 (diff)
downloadant-a7b657bd9ae901100575a7434347e3d26090ec8f.tar.gz
Add in any jars in lib/optional when doing a build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268567 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.bat')
-rwxr-xr-xbuild.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.bat b/build.bat
index 220fdceb9..98d535705 100755
--- a/build.bat
+++ b/build.bat
@@ -7,7 +7,10 @@ if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap
call bootstrap.bat
: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
call bootstrap\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup