Wednesday, June 14, 2006 06:42 PM
... that would probably be okay, though, since the "condition" task is described in the manual to only actually set the property value should the condition evaluate to true, and not set the property value at all otherwise. I really don't like the behavior of this stuff either, and a similar (but different) thing bit me recently. Worst case is you could write a custom ant task if you can't get the "core" stuff to work. Still, from my understanding, your approach should work, so you might put some debugging "echo" tasks in a few places to make sure the values are what you think they are.