ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <archie.co...@gmail.com>
Subject Re: Ivy cache TTL not working
Date Mon, 15 Jun 2009 16:03:29 GMT
See http://ant.apache.org/ivy/history/2.1.0-rc1/settings/caches/ttl.htmlparticularly
the reference to "resolve mode". I would guess resolve operates
in "resolve mode".

-Archie

On Mon, Jun 15, 2009 at 8:26 AM, Dima, Alina <
alina.dima@immobilienscout24.de> wrote:

> Hi,
>
>
>
> I am trying to use the TTL attribute on my cache for all external
> libraries. I want ivy to not check the central extern repository for
> those libraries, not to even search for them in there, and just use the
> versions in the cache. My cache setting is:
>
>
>
> <cache name="extern" basedir="${ivy.cache.extern.dir}">
>
>  <ttl duration="4d"/>
>
> </cache>
>
>
>
> When I create the resolver used for external libs, I use the cache
> extern.
>
>
>
> However, the resolve outputs:
>
>
>
> [ivy:resolve] is24-extern-resolver: Checking cache for: dependency:
> apache#commons-configuration;latest.integration
> {terms=[ConfigurationFactory]}
>
> [ivy:resolve] no cached resolved revision for
> apache#commons-configuration;latest.integration
>
> [ivy:resolve] no cached resolved revision for
> apache#commons-configuration;latest.integration
>
>
>
> And then
>
>
>
> [ivy:resolve]       found apache#commons-configuration;1.1 in
> extern-cached-libraries
>
> [ivy:resolve]       [1.1]
> apache#commons-configuration;latest.integration
>
>
>
> The extern-cached-libraries is my external rep.
>
>
>
> Why does ivy still search for this lib with every resolve if TTL is set
> to 4days. Is there something I am missing?
>
>
>
> Thanks a lot
>
> Alina
>
>


-- 
Archie L. Cobbs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message