ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist <mlundqui...@comcast.net>
Subject Re: Conditionals
Date Mon, 28 Feb 2005 18:15:29 GMT
Hi Frank,

On Feb 28, 2005, at 9:56 AM, Frank W. Zammetti wrote:

> 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.
>

<target name="foo" if="some-property">

HTH,
—ml—


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message