ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: Conditionals
Date Mon, 28 Feb 2005 18:07:25 GMT

--- "Frank W. Zammetti" <> wrote:
> 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.

As others have suggested, you can use ant-contrib's if
task.  However, the "Ant way" to do this is described
in the manual:


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message