ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <>
Subject sequential and parallel
Date Wed, 22 Aug 2001 16:50:31 GMT
would it be possible to add the attributes "if" and "unless" to the 
sequential and parallel tasks?
Right now if you want to use a condition, you have to evaluate the 
condition, and then call
another target which has an "if" or "unless" on the target.  It would be 
nice if you could
do something like:

<condition property="execute.sequential">

<sequential if="execute.sequential">
  <echo message="foo" />

what would make this even that property existed on the Task class, so that
all tasks had this capability built in, though i'm sure someone would have
some sort of objection to that.

Matt Inger (
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 

View raw message