If you're not opposed to external tasks, either antcontrib
(antcontrib.sourceforge.net) or Antelope (antelope.tigris.org) provide
straight-up if/else tasks.
Dale
Evan J wrote:
Hi,
I read the documents on Condition and Available tasks and from what I
see, both tasks only set a certain property upon meeting the condition
or otherwise. What I would like to accomplish is to actually perform a
task if a condition met or else do something else. That is,
if (condition)
perform some task, i.e. echo message="condition met"
else
perform another task
Is there such task available in Ant 1.7?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]