Browse Source

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 <paul at priorartisans.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273417 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
2eeb7ab48d
2 changed files with 5 additions and 2 deletions
  1. +3
    -0
      WHATSNEW
  2. +2
    -2
      src/script/ant.bat

+ 3
- 0
WHATSNEW View File

@@ -22,6 +22,9 @@ Fixed bugs:
* <manifest> wouldn't update an existing manifest if only an attribute * <manifest> wouldn't update an existing manifest if only an attribute
of an existing section changed. of an existing section changed.


* ant.bat now supports the ANT_ARGS environment variable again (like
Ant 1.5 did).

Other changes: Other changes:
-------------- --------------




+ 2
- 2
src/script/ant.bat View File

@@ -76,11 +76,11 @@ echo.
if not "%JIKESPATH%"=="" goto runAntWithJikes if not "%JIKESPATH%"=="" goto runAntWithJikes


:runAnt :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 goto end


:runAntWithJikes :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 goto end


:end :end


Loading…
Cancel
Save