ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: How to add a packager resolver without overriding existing defaults?
Date Mon, 04 Jan 2010 22:44:40 GMT
I think you should chain your resolvers and add an ibiblio resolver to your ivysettings.xml.

Something like this:

<ivysettings>
     <settings defaultResolver="main"/>
     <resolvers>
         <chain name="main">
             <packager name="ivyroundup">...</packager>
             <packager name="gwt-maven-repo">...</packager>
             <ibiblio name="public" m2compatible="true" />
          </chain>
    </resolvers>
    <caches useOrigin="true"/>
</ivysettings>

Hope this helps...
Maarten




----- Original Message ----
From: Yesudeep <yesudeep@gmail.com>
To: ivy-user@ant.apache.org
Sent: Mon, January 4, 2010 9:45:59 AM
Subject: Re: How to add a packager resolver without overriding existing  defaults?

On Mon, Jan 4, 2010 at 2:08 PM, Yesudeep <yesudeep@gmail.com> wrote:

> Hi.  I'm trying to define a project specific ivysettings.xml file
>

[snip]


>         <packager name="gwt-maven-repo"
> buildRoot="${user.home}/.ivy2/packager/build"
> resourceCache="${user.home}/.ivy2/packager/cache">
>             <ivy pattern="
> http://gwt-maven-repo.googlecode.com/svn/trunk/modules/[organisation]/[module]/[revision]/ivy.xml<http://gwt-maven-repo.googlecode.com/svn/trunk/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/ivy.xml>
> "/>
>             <artifact pattern="
> http://ivyroundup.googlecode.com/svn/trunk/modules/[organisation]/[module]/[revision]/packager.xml<http://ivyroundup.googlecode.com/svn/trunk/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/packager.xml>
> "/>
>         </packager>
>
>
[snip]

Typo.  This is set to:

        <packager name="gwt-maven-repo"
buildRoot="${user.home}/.ivy2/packager/build"
resourceCache="${user.home}/.ivy2/packager/cache">
            <ivy pattern="
http://gwt-maven-repo.googlecode.com/svn/trunk/modules/[organisation]/[module]/[revision]/ivy.xml<http://gwt-maven-repo.googlecode.com/svn/trunk/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/ivy.xml>
"/>
            <artifact pattern="
http://gwt-maven-repo.googlecode.com/svn/trunk/modules/[organisation]/[module]/[revision]/packager.xml<http://gwt-maven-repo.googlecode.com/svn/trunk/modules/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/packager.xml>
"/>
        </packager>

instead of what was pasted earlier.

-- 
Cheers,
Yesudeep Mangalapilly | येसुदीप मंगलािपल्ली
GnuPG: 0x79E237CB | IRC: jburd



      

Mime
View raw message