ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Adams" <>
Subject RE: does something like this exist?
Date Wed, 12 Feb 2003 21:21:08 GMT
> each target can have an "if" or an "unless".  

The problem with "if" and "unless" is that they only check if a
property is set.  Period.  So if the property is set to "false", the
target will still run.  That's why you have to use a combination of the
conditional task and the "if" or "unless" attributes IF you want to
differentiate between when a property is set to "true" and when it's set
to "false".

If it's either set or not set, then you can just get by with "if" and


View raw message