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 2007/01/18 13:17:44 UTC
DO NOT REPLY [Bug 41400] New: - properties get double expanded in
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=41400>.
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=41400
Summary: properties get double expanded in <assertPropertyEquals>
Product: Ant
Version: 1.7.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: AntUnit
AssignedTo: dev@ant.apache.org
ReportedBy: stevel@apache.org
While trying to track down why the antunit tests for the xml-attribute-expansion
wasnt working, I came to the conclusion that properties get expanded in the process.
that is, ifyou have
<property name="one" value="1" />
<property name="prop" value="$${one}" />
(so that prop==${one})
when you test the value, you get a match against the contents of ${one}
<au:assertPropertyEquals property name="prop" value="1" />
Possibly more of a general purpose macro problem than anything else.
--
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
DO NOT REPLY [Bug 41400] - properties get double expanded in
Posted by bu...@apache.org.
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=41400>.
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=41400
------- Additional Comments From vladimir_egorov@yahoo.com 2007-04-04 08:05 -------
As mentioned above, this is a generic macrodef problem (back in 1.6.5)
http://issues.apache.org/bugzilla/show_bug.cgi?id=42046
--
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