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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]