www.emsdn.com
Class Profile: Home »» Apache [Apache] under "Apache" »»» macrodef

macrodef


Message
From: Alexey N. Solofnenko [mailto:a.solofnenko (AT) mdl (DOT) com]
Sent: , 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 (AT) ant (DOT) apache.org
For additional commands, e-mail: user-help (AT) ant (DOT) apache.org
To unsubscribe, e-mail: user-unsubscribe (AT) ant (DOT) apache.org
For additional commands, e-mail: user-help (AT) ant (DOT) apache.org
To unsubscribe, e-mail: user-unsubscribe (AT) ant (DOT) apache.org
For additional commands, e-mail: user-help (AT) ant (DOT) apache.org


No. 1# | By Developer Tags User at [2008-5-4] | size: 2065 bytes

Well, you can do it via internal ANT API, but it would be a too complex
solution for the task.
- Alexey.

Paulo Jorge Guedes wrote:
>Message
>From: Alexey N. Solofnenko [mailto:a.solofnenko (AT) mdl (DOT) com]
>Sent: , 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 (AT) ant (DOT) apache.org
For additional commands, e-mail: user-help (AT) ant (DOT) apache.org


>
>To unsubscribe, e-mail: user-unsubscribe (AT) ant (DOT) apache.org
>For additional commands, e-mail: user-help (AT) ant (DOT) apache.org
>>

>
>
>
>


To unsubscribe, e-mail: user-unsubscribe (AT) ant (DOT) apache.org
For additional commands, e-mail: user-help (AT) ant (DOT) apache.org

To unsubscribe, e-mail: user-unsubscribe (AT) ant (DOT) apache.org
For additional commands, e-mail: user-help (AT) ant (DOT) apache.org



Apache Hot!

Apache New!


Copyright © 2008 www.emsdn.com • All rights reserved • CMS Theme by www.emsdn.com - 0.25