ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17421] - in one particular case, param "default" in task project does not work
Date Wed, 26 Feb 2003 11:33:16 GMT
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=17421>.
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=17421

in one particular case, param "default" in task project does not work





------- Additional Comments From pboyer@bmc.com  2003-02-26 11:33 -------
bug reproduced on windows 2K.

you are right, stephan: i have displayed the following command in ant.bat
"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" %ANT_OPTS% 
org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%

and "-Dprop=make,make" becomes "-Dprop=make make" ...

ant.bat from 1.4.1 works because it uses an os specific cmd to slurp args:
set ANT_CMD_LINE_ARGS=%*

ant.bat from 1.5.1 uses "shift" cmd which probably considers "," as a separator:
:setupArgs
if ""%1""=="""" goto doneStart
set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1
shift
goto setupArgs

all char considered as a separator by shift should provoke the same problem. I 
think i am going to use the 1.4.1 way to pass args in ant.bat. let me know if 
you have a better way.

thank you stephan

Mime
View raw message