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 2006/09/16 23:58:23 UTC
DO NOT REPLY [Bug 40523] - Ant does not read -D properties same way as Java
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40523>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40523
peterreilly@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From peterreilly@apache.org 2006-09-16 21:58 -------
I am sorry, but Alexey is incorrect.
The reason that you see this odd behaviour is that
ant on windows uses a batch file to run ant.
It is nearly impossible to write a sane bat file
due to the bizarre and crazy nature of bat files.
- just see the endless stream of ant.bat related
bug reports.
It appears however that some of the changes
to ant1.7's bat file has fixed the problem
When I do this:
ant.bat -f echo.xml -Dc="a=b"
I get:
c is a=b
similar with ';'
Without the "" I see the behaviour you are seeing:
ant.bat -f echo.xml -Dc=a=b
Target "b" does not exist in the project "null".
Marking as fixed.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org