ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan J " <>
Subject Simple if/else Condition
Date Wed, 18 Jul 2007 03:18:53 GMT

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"
  perform another task

Is there such task available in Ant 1.7?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message