On Thursday 14 August 2003 12:28, Knut Wannheden wrote:
>
> A question: is <macrodef> a special task in the sense that it seems to be
> able to suppress Ant from resolving properties for it when the task is
> evaluated?  Is there a mechanism which allows this to be done in custom
> tasks as well?

The trick is that MacroDef uses TaskContainer in a nested element. This
is given UnknownElements before they are executed.  MacroInstance
then copies and walks the tree of unknownelements, modifing
attribute values and text values.

Peter


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

Reply via email to