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