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/09/11 12:39:42 UTC

DO NOT REPLY [Bug 28882] - Add if and unless attributes to ProjectComponent.

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=28882>.
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=28882





------- Additional Comments From stevel@apache.org  2007-09-11 03:39 -------
What do people think of me adding basic if/unless tests to <sequential>. Effort
is low, testing simple and you can always use a previous <condition> to make a
sequence out of it.

Pro: easy to use
Con: 
-suddenly, anyone that embeds a sequential inside their own code can get
components that don't execute if their if/unless statements evaluate wrong
-anyone that has subclassed Sequential has extra attributes/state to deal with.

I'm about to subclass sequential at work for my own conditional bits (I want to
make reporting/failure in our FunctionalTestTask optional, so that we can do an
aggregate build with reporting/failure at the end)

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