I've integrated the patch into svn trunk. Thanks for your contribution Martin :-)
Maarten ----- Original Message ---- From: Martin Eigenbrodt <[email protected]> To: [email protected] Sent: Tuesday, January 27, 2009 11:20:14 AM Subject: Re: Buildnumber task lookt at all resovlers Hello, I've opend https://issues.apache.org/jira/browse/IVY-1019 and commited a patch that adds the resolver attribute to the buildnumber task. I hope a commiter will integrated this into the next version. Until then you might use the patch and build ivy yourself. Best regards, Martin 2009/1/26 Michael Kebe <[email protected]> > > > Martin Eigenbrodt wrote: > > > > ... > > The buildnumber task now looks at the same repository three times. > > Is there a way to avoid this? > > ... > > > > You could try to setup a new ivysetting containing only one of your > resolvers. I would suggest only to take the resolver using the > "end"-clients > (e.g. URLResolver). here is a snippet to to it. > > ... > <ivy:settings id="ivy.settings.sharedonly" > file="${ivy.settings.dir}/ivysettings-shared.xml" /> > <ivy:info /> > <ivy:buildnumber organisation="${ivy.organisation}" module="${ivy.module}" > revision="${ivy.revision.prefix}" settingsref="ivy.settings.sharedonly" /> > ... > > If there is another solution I am interested, too. > > -- > View this message in context: > http://www.nabble.com/Buildnumber-task-lookt-at-all-resovlers-tp21660612p21661327.html > Sent from the ivy-user mailing list archive at Nabble.com. > >
