Martin, I can vouch that "latest.[any status]", as documented, does work.
As for the 2), 3), 4) you cite, I imagine the reason Ivy allows any arbitrary text to work is because it allows arbitrary statuses and it doesn't know the full set of statuses at the time the dependency revision is parsed. It seems like the 2) and 3) you offer are just variations of 4). >From my experience, what I can say does NOT work is "latest" simply by itself. For some reason, I had incorrectly recalled that was the way to express, "Give me the latest regardless of status," and soon enough found out otherwise. Actually, for my money, "latest" by itself would be an intuitive shorthand for "latest.[any status]". On Wed, Aug 19, 2009 at 4:44 AM, Martin Weber <[email protected]> wrote: > Hi folks, > > if I wish to express a dependency on a module of the latest revision, > with any status, > how do I express that verbatim in the ivy.xml file? > > 1) rev="latest.[any status]" > or > 2) rev="latest.any status" > or > 3) rev="latest." (seems to work, too) > or > 4) rev="latest.any arbitrary text here" (seems to work, too) > > The Ivy docs state that (1) is correct, but I'm not quite sure. > > Regards, > Martin > >
