ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Macrodef and If
Date Fri, 11 Nov 2011 14:31:58 GMT
On 2011-11-09, Steve Amerige wrote:

> Thanks for your reply.  This won't work because the macrodef won't
> have any knowledge of what to do as per my need.

I have to trust you on that.

> I think, therefore, my solution of having 2 macrodef elements is as
> close as I can get:

> <mymacrodef>
> <if-true>...</if-true>
> <if-false>...</if-false>
> </mymacrodef>

> So, then the question shifts a bit: in a macrodef, assuming that an
> element has optional="true", is there a way to test whether the
> element, in fact, is being used by the caller?

I don't think so.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message