On 2009-09-24, Matt Benson <gudnabr...@yahoo.com> wrote: > --- On Thu, 9/24/09, Peter Reilly <peter.kitt.rei...@gmail.com> wrote:
>> using <target name="x" if="${foo}"> >> seems to be very very strange.. > Maybe it seems that way, but taking into account you'd have to be > deliberately using propertyhelper delegates to make proper use of > this, it might look like: > <target name="x" if="${boolean:${do-x}}" unless="${boolean:${skip-x}}"> > <...> > </target> <target name="x" if="${||(${boolean:${arg1}},${boolean:${arg2}})}"> yes, it looks unwieldy. It would be possible to remove the outer ${} so Matt's example could become if="boolean:${do-x}" This can be done without breaking backwards compatibility too much but leaves us with a place where Ant suddenly expands properties without ${} syntax - I'm not convinced this would be a good idea. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org