ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: subant vs. antcall - was: Build File
Date Tue, 20 Jul 2004 16:44:57 GMT
Thanks for the clarification. :)

-Rob Anderson

> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Tuesday, July 20, 2004 9:15 AM
> To: 'Ant Users List'
> Subject: RE: subant vs. antcall - was: Build File
> 
> 
> > From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]
> > 
> > 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?
> 
> No.
> 
> > 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message