ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <>
Subject Re: Performance of Ant <antcall>
Date Fri, 02 Oct 2009 06:11:08 GMT

Hi Stefan,

This could be one workaround due to lack of straight approach to call the
I am surprised why such a thing did not exist from day one.. Pl. let me know
if this approach has any ant design related issues.

I see macros are callable directly, targets would also be called though
dependents , but with in the target calling another target is not straight
(isolation principles are being applied in all the existing tasks antcall,
subant, ant).

For now we did write light wait target call as custom task and preformance
has improved a lot (in over case there were 6 ant calls)


Stefan Bodewig wrote:
> On 2009-09-30, Raja Nagendra Kumar <> wrote:
>> Yes, I could but I loose the flexibility of calling from command line.
> <macrodef name="originalTarget">
>   <sequential>
>     original-content-of-your-target
>   </sequential>
> </macrodef>
> <target name="originalTarget">
>   <!-- may need to set attributes from property values -->
>   <originalTarget/>
> </target>
> should work for that usecase.
>> To our surprise.. when such a changes are done, they work from xml but it
>> does not work custom task (based on project.createTask() and execute() )
>> methods.
> If you mean Project#createTask doesn't work for macrodef-ed or
> presetdef-ed tasks - this is true.
> Stefan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message