ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan J " <maps.this.addr...@gmail.com>
Subject Simple if/else Condition
Date Wed, 18 Jul 2007 03:18:53 GMT
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message