Posting a small snippet demonstrating the problem in Ant 'code' will
often get you an answer faster ;-)

The two main misunderstood points about target's if/unless are:

1) Thinking if="foo" means "execute the target is foo's property value
is true (or yes, or 1)". It sounds like you're are not making that
mistake.

2) The if/unless is evaluated *after* the depends target are executed.

In your case, it's possible you are not 'running' the code that sets
the property prior to testing for it. But of course that's just a
guess without actual code to look at ;-) --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to