You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/02/22 19:55:33 UTC

DO NOT REPLY [Bug 17309] New: - ANT_ARGS not implemented in Windows BAT file

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17309>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17309

ANT_ARGS not implemented in Windows BAT file

           Summary: ANT_ARGS not implemented in Windows BAT file
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: tsaul2003@earthlink.net


The new ANT_ARGS functionality was not added to the ant.bat file.  The 
invocation lines need to be changed to

:runAnt
"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" %ANT_OPTS% 
org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% %ANT_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% %ANT_ARGS%