ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Jorge Guedes <Paulo.Gue...@artelecom.pt>
Subject RE: macrodef
Date Tue, 17 Jan 2006 19:13:29 GMT
> -----Original Message-----
> From: Alexey N. Solofnenko [mailto:a.solofnenko@mdl.com]
> Sent: terça-feira, 17 de Janeiro de 2006 18:23
> To: Ant Users List
> Subject: Re: macrodef
> 
> You can overwrite the macrodef in your build file or you can copy the
> file first, then insert necessary elements into that copy.

But I have to rewrite all the macrodef settings, i.e., there isn't a way to just add more
settings to the already defined macrodef?

Paulo


> - Alexey.
> 
> Paulo Jorge Guedes wrote:
> > Hi,
> >
> > I have a target (-init-macrodef-junit ) that initializes "junit" target
> > using the "macrodef" element. It doesn't declare the "formatter" element
> > and I need to have the reports printed. The thing is I can't touch that
> > file.
> >
> > Is there any way to "append" the "formatter" child element to the junit
> > macrodef in a target called after the one that initializes it
> > (-init-macrodef-junit)? It would avoid having to redefine all the junit
> > settings...
> >
> > Paulo
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 



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


Mime
View raw message