ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: subant vs. antcall - was: Build File
Date Tue, 20 Jul 2004 16:14:52 GMT
> From: Anderson, Rob (Global Trade) []
> I was just looking at <subant> and comparing it to <antcall>. I noticed
> that <subant> bassically includes all the functionality of <antcall>.

You could say the same with <ant> and <antcall>...

> 1. Is <antcall> depricated?


> 2. Is there any reason to use <antcall> over <subant>?

<antcall> calls a target in the *same* build file.
<subant> calls a target in a *different* build file.

<subant> is like a for loop wrapped around <ant>, switching the default
inheritAll="true" of <ant> into inheritAll="false". --DD

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

View raw message