Tried setting the resolveId, still no workie. :(
The result is the same, ${ivy.revision} is "working".
-Tim
From: Mitch Gitman <[email protected]>
To: [email protected]
Date: 08/25/2010 01:31 PM.
Subject: Re: Getting the revision of an inline resolve
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
<[email protected]>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