ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: AW: how to call a predefined target or macroin build.xml from Custom Ant task
Date Thu, 03 Sep 2009 08:17:17 GMT
macro = ...createTask(...);
for(...) {

This should work. My example reused that too (1st with default value, 2nd run with custom
You have to ensure that no required values are "deleted" in further runs. But if all runs
the setting of the same parameters (maybe with different values) this should be enough.


>-----Urspr√ľngliche Nachricht-----
>Von: Raja Nagendra Kumar [] 
>Gesendet: Donnerstag, 3. September 2009 10:10
>Betreff: Re: AW: how to call a predefined target or macroin 
>build.xml from Custom Ant task
>Thank You Jon, this rocks..
>instead of createTask() every time, is there a way to reuse the already
>existing one (either may be created by xml files or with in 
>other script
>Not sure how memory and cpu intesive is createTask() specially 
>when it is
>for loop (in our case this macro is run many times).
>Raja Nagendra Kumar
>View this message in context: 
>Sent from the Ant - Dev mailing list archive at
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message