Ivy will try to autodetect the resolver based on the information found in the <modules>
element in your settings.xml.
Cfr http://ant.apache.org/ivy/history/latest-milestone/settings/modules.html
If Ivy doesn't find a match based on that information, the default resolver is used.
If you want to be able to specify the resolver as attribute in the ivy:buildnumber task, please
open a JIRA request for this.
Maarten
----- Original Message ----
From: "Brown, Carlton" <Carlton.Brown@compucredit.com>
To: ivy-user@ant.apache.org
Sent: Wednesday, October 15, 2008 3:47:37 PM
Subject: RE: Clarification on buildnumber task
But if it's in a resolver other than the default resolver, then how
would you tell Ivy to use that resolver? There's no attribute.
-----Original Message-----
From: Gilles Scokart [mailto:gscokart@gmail.com]
Sent: Wednesday, October 15, 2008 6:38 AM
To: ivy-user@ant.apache.org
Subject: Re: Clarification on buildnumber task
It is not a post resolve task. The resolver used is the default one, or
the one that should be used to find the asked module.
2008/10/14 Brown, Carlton <Carlton.Brown@compucredit.com>:
> Hi all,
>
> We're looking at the ivy:buildnumber task to manage build numbers in
> the local workspace. It is not clear from the docs which repository
would
> be searched to derive the build number. Is this a post-resolve task,
> computing the build number off the ivy cache, or are the docs maybe
> missing a resolver attribute?
>
> Thanks,
> Carlton
>
>
>
> -----------------------------------------
> ====================================================
> This message contains PRIVILEGED and CONFIDENTIAL information that is
> intended only for use by the named recipient. If you are not the named
> recipient, any disclosure, dissemination, or action based on the
> contents of this message is prohibited. In such case please notify us
> and destroy and delete all copies of this transmission. Thank you.
> ====================================================
--
Gilles Scokart
|