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 40019] New: - Add shorcut regex attribute to <echoproperties>
Date Tue, 11 Jul 2006 20:03:51 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=40019>.
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=40019

           Summary: Add shorcut regex attribute to <echoproperties>
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: rambiusparkisanius@yahoo.com


I think it would be convenient if <echoproperties> had regex attribute. Although
the same functionality can be implemented with a <propertyset>, using an
attribute   is shorter. I am attaching a patch that contains the following:
1) the changes in EchoProperties.java - I added setRegex(String) method, as well
a check that throws a BuildException wheh both prefix and regex attributes are
supplied
2) the unit tests for the change in 1)
3) the documentation changes in echoproperties.html - I not only added
description of the regex attribute, but also touched some parts to highlight the
connection between <echoproperties> and <propertyset>.

-- 
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