ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Gitman <mgit...@gmail.com>
Subject Re: Getting the revision of an inline resolve
Date Wed, 25 Aug 2010 17:28:57 GMT
On the ivy:resolve, try specifying resolveId="something". Then echo
${ivy.revision.something}.

The ivy.revision property is referring to your current working module, not
the one being depended upon and which you're resolving against.

On Wed, Aug 25, 2010 at 10:17 AM, Timothy Aston <Timothy.Aston@ca.ibm.com>wrote:

>
>
> I'm performing an inline resolve, and I'd like to know what revision I have
> actually resolved. eg.
>
> <ivy:resolve conf="@{conf}" organisation="@{organisation}" module=
> "@{module}" inline="true" transitive="false" revision="latest.integration"
> keep="true" />
> <echo>${ivy.revision}</echo>
>
> This always just outputs "working", which is not exactly useful.  The
> resolve itself works as expected.
>
>
> -Tim

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