ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Cache Path and Ant console logging
Date Thu, 04 Oct 2007 14:23:11 GMT
Fernandes, Gerard wrote:
> 
> Ok, I've tried to debug this a bit and it seems the problem is not Ivy -
> it's the way Ant handles global declarations when calling out to
> external build scripts. This causes the global cache-path tasks to be
> re-invoked each time a call to an externally defined target happens,
> therefore triggering repeated resolutions.
> 
> This is not an Ivy issue. It is an Ant build script structure issue.


yes, if you use <antcall> or <subant> then things get triggered 
repeatedly.  This can be a good thing if you want sub projects to have 
different dependencies. To pass state down , get the data into ant 
datatypes that can be inherited.

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

Mime
View raw message