You can conditionally run targets, so one way would be to use conditional 
targets & antcall.

Another way would be to use ant-contrib: it has support for conditional 
task execution.

JEC
-- 
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote on 02/28/2005 12:56:58 PM:

> This might be the last Ant question I ever have to ask (now, where is 
the
> deed to that bridge in Brooklyn?!?)...
> 
> Is it possible, and if so how, to do conditionals?  I'd like to have a 
way
> basically on each task to say "if property A=value1, then run this task,
> otherwise don't".  I'm looking through the manual now but haven't come
> across what seems to fit the bill.
> 
> Thank you once again!
> 
> -- 
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to