ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Matthies <ml_ivy-u...@nmhq.net>
Subject Re: dynamic revision and determine the most recent
Date Wed, 21 Oct 2009 14:10:48 GMT
On Wed 2009-10-21 at 08:40h, Glidden, Douglass A wrote on ivy-user:
> Ivy uses ONLY the revision numbers to compare versions across
> repositories-it does not use the "publication date" or any other
> metadata

Um, doesn't the latest-time strategy do exactly that (using the file time)?
(http://ant.apache.org/ivy/history/latest-milestone/concept.html#latest)

> -it would be essentially meaningless, since there is no
> guarantee that any given server or your local computer has a
> correctly synchronized system clock.  If an artifact is found with
> the same revision in two different repositories, they are assumed to
> be the same and whatever repository is first in the chain will be
> used.  So in your case, Ivy finds that the most recent version in
> each repository is 1.1.7.1; since they are the same, it then
> proceeds to download from the first repository in the chain.  If two
> revisions are different they need to have different revision
> numbers.

-- Niklas Matthies

Mime
View raw message