ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: using multiple properties in the 'if' and 'unless' conditions
Date Thu, 22 Jun 2006 21:31:20 GMT
It's believed that you can easily combine the various conditions in
one <condition>, that sets a single property based on as complex a
logic as <condition>'s nested <or>/<and> allows, so it's not
necessary.

When you remember that targets listed in 'depends' are executed before
'if' / 'unless' are evaluated, you can easily execute the <condition>
before the target and test if/unless on its results.

--DD

On 6/22/06, Paul.Mackay@nokia.com <Paul.Mackay@nokia.com> wrote:
> Hello,
>
> Has the possibility of adding multiple conditions to the target 'if' and
> 'unless' attributes ever been considered? Are there any reasons why this
> change would be a bad idea?
>
> cheers
>
> paul
>
>

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


Mime
View raw message