ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: text support for macrodef
Date Thu, 22 Jan 2004 15:24:28 GMT
+1

On Jan 22, 2004, at 10:03 AM, Peter Reilly wrote:

> I would like to add support to <macrodef> to allow the text content
> of macros to be placed in the macro instance:
>
> use is like this:
>    <macrodef name="echotest" textname="text">
>      <sequential>
>        <echo>@{text}</echo>
>      </sequential>
>    </macrodef>
>    <echotest>
>      Hello world
>    </echotest>
>
> The textname attribute value becomes a macrodef attribute that
> gets set to the value of the text contents of the macro.
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message