You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jo...@mail.sprint.com on 2001/05/10 22:31:09 UTC
RE: Condition execution of a target or a task with in the target
Try the enclosed task...it can execute a target if a condition is true,
and another if not...
like if/then/else...See javadocs for details.
Good luck,
John
-----Original Message-----
From: christakis [mailto:christakis@ncrist.com]
Sent: Thursday, May 10, 2001 4:30 PM
To: ant-user
Cc: christakis
Subject: Condition execution of a target or a task with in the target
I am new to ant and I find it very convenient for building java files.
My
question is
how can I do a conditional execution of a target based on a value of an
attribute, a
how can I do a conditional execution of task within a targert
how can I set the parameter of an attribute
where can I find the DTD for ant?
Thanks in advance
Chris