ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: how to ignore missing metadata?
Date Thu, 03 Jan 2008 21:36:13 GMT
On Jan 3, 2008 9:54 PM, limbicsystem <limbicsystem@gmail.com> wrote:

>
> I am only using static revisions in my dependencies, yet it still seems to
> be
> hitting the remote repos during resolves.  I do notice that the cached
> xmls
> contain lots of evictions of "latest-revision", e.g.:
>
>                <module organisation="commons-logging"
> name="commons-logging" resolver="default">
>                       <revision name="1.0" evicted="latest-revision"
> evicted-reason="" downloaded="false" searched="false" conf="runtime,
> compile, master, default" position="-1">

This only means that the 1.0 has been evicted with the latest-revision
conflict manager. But maybe your verbose or debug log could tell more about
why the cache is not enough. Or maybe it's related to a bug I've just fixed
(see another mail I sent today about IVY-389).

Xavier


>
>
>
> Thanks,
> L
>
>
> Xavier Hanin wrote:
> >
> > If you are using only static versions (no latest.xx or the like) then
> > resolve should be very fast once everything is provisioned in cache. If
> > you
> > use dynamic revisions, you can have changes in your dependencies even if
> > you
> > have no change in your ivy file, so comparing timestamps is not enough.
> > ATM
> > Ivy is always checking the remote repositories when you use dynamic
> > revisions, but this may be improved before 2.0 final, by configuring
> some
> > kind of TTL once a dynamic revision is resolved (for instance to check
> for
> > new versions only once a day or something like that).
> >
> > Xavier
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/how-to-ignore-missing-metadata--tp14536594p14604766.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

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