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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to