Martin Weber wrote:
Mitch Gitman schrieb:
Martin, I can vouch that "latest.[any status]", as documented, does work.

The documentation does not say to literally write
'rev="latest.[any status]"'!

The docs say http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html

"latest.[any status] since 1.4
selects the latest revision of the dependency module with at least the specified status. "

That is saying that
latest.release
means latest with status release, and latest.x is latest with status x.

That page says that the latest revision can be got with
"latest.integration
selects the latest revision of the dependency module. "

That documentation may be incorrect though if you have custom statuses - you should really use your least mature defined status name, whatever that is (integration by default) (see http://ant.apache.org/ivy/history/latest-milestone/settings/statuses.html)

But it seems that the software interprets
latest.[random string that doesn't match any known status name]
as meaning the latest version, so you can get away with not reading the docs!

Tom

Reply via email to