ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: Conditionals
Date Mon, 28 Feb 2005 18:04:58 GMT
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 (carej@us.ibm.com)
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


"Frank W. Zammetti" <fzlists@omnytex.com> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message