You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Dreamage <gr...@hotmail.com> on 2008/07/22 15:46:37 UTC
Packager resolver inside a Chain
Hi,
I got a error trying to add a packager resolver inside a existing chain
resolver. Anyone knows why ?
impossible to configure ivy:settings with given file:
C:\sources\ivysettings.xml :java.text
.ParseException: failed to load settings from
file:/C:/sources/ivysettings.xml: no appropriate method found for adding
packager on class org.apache.ivy.plugins.resolver.ChainResolver
<chain name="main-chain">
<packager name="roundup" buildRoot="${user.home}/.ivy2/packager/build"
resourceCache="${user.home}/.ivy2/packager/cache">
<ivy
pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/ivy.xml"/>
<artifact
pattern="http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/packager.xml"/>
</packager>
<ibiblio name="maven2" m2compatible="true" />
<url name="wicket-stuff" m2compatible="true">
<artifact
pattern="http://wicketstuff.org/maven/repository/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
/>
</url>
</chain>
--
View this message in context: http://www.nabble.com/Packager-resolver-inside-a-Chain-tp18587489p18587489.html
Sent from the ivy-user mailing list archive at Nabble.com.
Re: Packager resolver inside a Chain
Posted by Dreamage <gr...@hotmail.com>.
I'm using 2.0 Beta2. I'm gonna try building it from the sources. Thanks
--
View this message in context: http://www.nabble.com/Packager-resolver-inside-a-Chain-tp18587489p18602692.html
Sent from the ivy-user mailing list archive at Nabble.com.
Re: Packager resolver inside a Chain
Posted by Archie Cobbs <ar...@dellroad.org>.
It works for me using a locally built version of Ivy from yesterday (Ivy
2.0.0-rc1-local-20080721161258). Are you using a recent version?
-Archie
On Tue, Jul 22, 2008 at 8:46 AM, Dreamage <gr...@hotmail.com> wrote:
>
> Hi,
>
> I got a error trying to add a packager resolver inside a existing chain
> resolver. Anyone knows why ?
>
> impossible to configure ivy:settings with given file:
> C:\sources\ivysettings.xml :java.text
> .ParseException: failed to load settings from
> file:/C:/sources/ivysettings.xml: no appropriate method found for adding
> packager on class org.apache.ivy.plugins.resolver.ChainResolver
>
> <chain name="main-chain">
> <packager name="roundup"
> buildRoot="${user.home}/.ivy2/packager/build"
> resourceCache="${user.home}/.ivy2/packager/cache">
> <ivy
> pattern="
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/ivy.xml<http://ivyroundup.googlecode.com/svn/trunk/repo/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/ivy.xml>
> "/>
> <artifact
> pattern="
> http://ivyroundup.googlecode.com/svn/trunk/repo/modules/[organisation]/[module]/[revision]/packager.xml<http://ivyroundup.googlecode.com/svn/trunk/repo/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/packager.xml>
> "/>
> </packager>
> <ibiblio name="maven2" m2compatible="true" />
> <url name="wicket-stuff" m2compatible="true">
> <artifact
>
> pattern="
> http://wicketstuff.org/maven/repository/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://wicketstuff.org/maven/repository/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
> "
> />
> </url>
> </chain>
> --
> View this message in context:
> http://www.nabble.com/Packager-resolver-inside-a-Chain-tp18587489p18587489.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>
--
Archie L. Cobbs