ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: text support for macrodef
Date Fri, 23 Jan 2004 06:30:13 GMT
+1
Jan

> -----Original Message-----
> From: Erik Hatcher [mailto:erik@ehatchersolutions.com]
> Sent: Thursday, January 22, 2004 4:24 PM
> To: Ant Developers List
> Subject: Re: text support for macrodef
> 
> 
> +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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message