ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: SubAnt performance
Date Fri, 25 Sep 2009 03:59:19 GMT
On 2009-09-25, Raja Nagendra Kumar <> wrote:

> Currently I see <subant> is launching new ant even if the build file is same
> as the current one being executed.

A new Project instance, but not a new process.

> Would it not be more fast to excute the target in the current ant process it
> self, provided build file and directory are same.

It would be faster but it would be something different at the same time
since you'd no longer have any isolation between the calling and the
called project.

Right now the called project doesn't see the references defined in the
calling project (inheritRefs), may not see the properties (inheritAll)
may see temporarily redefined values for properties (nested param tags)
- and nothing the called project does to references or properties has
any effect on the calling project.  All of that wouldn't be possible if
subant was using the same project instance as the calling one.


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

View raw message