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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to