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/06/16 10:45:40 UTC
DO NOT REPLY [Bug 20802] New: -
Passing arguments through ant.bat doesn't work
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=20802>.
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=20802
Passing arguments through ant.bat doesn't work
Summary: Passing arguments through ant.bat doesn't work
Product: Ant
Version: 1.5.3
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Wrapper scripts
AssignedTo: dev@ant.apache.org
ReportedBy: vitezslav.stejskal@sun.com
The ant.bat script doesn't handle commandline arguments correctly. The symptoms
are that using following command 'ant -Dmyprop= mytrg' sets the value of
'myprop' property to the 'mytrg' instead of setting the 'myprop' blank (empty
string) and starting the target 'mytrg'.
I tried to use commandline params handling from ant.bat distributed with ant 1.4
and things started to work fine again. I'll attach the patch file.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org