On 7/23/07, warhero <[EMAIL PROTECTED]> wrote:
bill/wilandra wrote: > Create a target named init which will define/set props.someprop to any > value. > <target name="test1" depends="init" if="props.someprop">
This would kind of work. But this will fail to execute all commands in a "depends" chain. if one of the if tests isn't met then subsequent target's won't execute.
FTR, that's not quite true. An if/unless on a target affects only that target's content, and the dependency chain is always executed before the if/unless is evaluated, which is why the target that sets or not the property tested is listed as a dependency. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]