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 2002/12/01 05:20:05 UTC

DO NOT REPLY [Bug 13953] - empty -D (-Dname=) doesn't work anymore

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=13953>.
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=13953

empty -D (-Dname=) doesn't work anymore

stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From stevel@apache.org  2002-12-01 04:20 -------
This is not a regression in Ant. We have not changed that bit of the code. 

Look at ant.Main lines 317 to 340...there is some stuff there that mentions
different JVMs behave differently and pass -Dfoo=bar down as "-Dfoo" "bar"
sometimes.

Which would create exactly the behaviour you are citing...if the "=" sign is
being stripped the next arg gets pulled in and boom, your build is broken. Not
much we can do about this. 

It has never been stated that -Dfoo= was a valid assignment, please desist from
doing so :)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>