ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John.D.Ca...@mail.sprint.com
Subject RE: Condition execution of a target or a task with in the target
Date Thu, 10 May 2001 20:31:09 GMT
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


Mime
View raw message