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 37726] New: - add support for multiple conditions in "if" and "unless" attributes
Date Wed, 30 Nov 2005 23:20:39 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=37726>.
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=37726

           Summary: add support for multiple conditions in "if" and "unless"
                    attributes
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: odupuy@bigfoot.com


This does not seem to be listed as an existing bug or RFE
Missing in 1.6.2 (my ant version) and plus (according to the online doc)

See doc some lines upper than http://ant.apache.org/manual/using.html#tasks

Current description:
"if" if the name of the property that must be set in order for this target to 
execute. 
"unless" unless the name of the property that must not be set in order for this 
target to execute 

basically I would like Ant to allow something like:
... if="condA,condB,condC"... (all the properties have to be set to execute)
... unless="condA,condB,condC"... (all the properties have to be NOT set to 
execute)

- The change would be backward compatible except if the properties include a 
comma which seems quite unlikely.
- This allows the code to be much simpler not needing to use the condition task
- comma separated values are usable in many other tasks

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