ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Aston <Timothy.As...@ca.ibm.com>
Subject Re: Getting the revision of an inline resolve
Date Wed, 25 Aug 2010 18:42:29 GMT

Tried setting the resolveId, still no workie. :(

The result is the same, ${ivy.revision} is "working".


-Tim



From:       Mitch Gitman <mgitman@gmail.com>
To:         ivy-user@ant.apache.org
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
<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/related (inline, None, 0 bytes)
View raw message