ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41400] New: - properties get double expanded in <assertPropertyEquals>
Date Thu, 18 Jan 2007 12:17:44 GMT
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


Mime
View raw message