On 2009-09-25, Raja Nagendra Kumar <nagendra.r...@tejasoft.com> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to