And what does ${ivy.revision.something} show you? Not ${ivy.revision}. On Wed, Aug 25, 2010 at 11:42 AM, Timothy Aston <timothy.as...@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 <mgit...@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.as...@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 > >