From 2eeb7ab48d1f8d4005c90e15d05e702039d220e4 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 8 Oct 2002 08:11:39 +0000 Subject: [PATCH] re-add support for ANT_ARGS environment variable to ant.bat which has been lost in revision 1.19 of that file. Reported by: Paul Christmann git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273417 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 3 +++ src/script/ant.bat | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index b66f15f81..cf2a7ed55 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -22,6 +22,9 @@ Fixed bugs: * wouldn't update an existing manifest if only an attribute of an existing section changed. +* ant.bat now supports the ANT_ARGS environment variable again (like + Ant 1.5 did). + Other changes: -------------- diff --git a/src/script/ant.bat b/src/script/ant.bat index 342f63d35..41d8b9f65 100755 --- a/src/script/ant.bat +++ b/src/script/ant.bat @@ -76,11 +76,11 @@ echo. if not "%JIKESPATH%"=="" goto runAntWithJikes :runAnt -"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% +"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS% goto end :runAntWithJikes -"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% +"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS% goto end :end