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 18:55:29 GMT
And what does ${ivy.revision.something} show you? Not ${ivy.revision}.

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

> Tried setting the resolveId, still no workie. :(
>
> The result is the same, ${ivy.revision} is "working".
>
>
> -Tim
>
> [image: Inactive hide details for Mitch Gitman ---08/25/2010 01:31:21
> PM---On the ivy:resolve, try specifying resolveId="something". Th]Mitch
> Gitman ---08/25/2010 01:31:21 PM---On the ivy:resolve, try specifying
> resolveId="something". Then echo ${ivy.revision.something}.
>
> 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/alternative (inline, None, 0 bytes)
View raw message