Hmm, I would write your settings this way:

<ivysettings>
<settings defaultResolver="defaultChain" defaultConflictManager="all"/>

    <resolvers>
            <url name="com.springsource.repository.bundles.release">
                <ivy pattern="
http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
                <artifact pattern="
http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
            </url>

            <url name="com.springsource.repository.bundles.external">
                <ivy pattern="
http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
                <artifact pattern="
http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
            </url>
       <chain name="defaultChain" returnFirst="true">
           <resolver ref="com.springsource.repository.bundles.release"/>
<resolver ref="jcom.springsource.repository.bundles.external"/>
       </chain>
    </resolvers>
</ivysettings>

Thanks,

---
Kirby Files
Software Architect
Masergy Communications
kfi...@masergy.com

Tyler Kocheran wrote on 02/04/2009 12:45 PM:
I'm kind of new to setting up ivysettings files, I tried doing what you
suggested and I'm still getting build failed:

<?xml version="1.0"?>
<ivysettings>

    <resolvers>
        <chain>
            <url name="com.springsource.repository.bundles.release">
                <ivy pattern="
http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
                <artifact pattern="
http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
            </url>

            <url name="com.springsource.repository.bundles.external">
                <ivy pattern="
http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
                <artifact pattern="
http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
/>
            </url>
        </chain>
    </resolvers>
</ivysettings>

And my ivy.xml file:

<?xml version="1.0"?>
<ivy-module version="2.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd
">

    <info organisation="tkassembled" module="someModule"/>

    <dependencies>
        <dependency org="org.springframework"
name="org.springframework.spring-library" rev="2.5.6.A" />
    </dependencies>
</ivy-module>


On Wed, Feb 4, 2009 at 2:52 AM, <paul.newp...@targetgroup.net> wrote:





Try getting Spring from Spring:


http://www.springsource.com/repository/app/library/version/detail?name=org.springframework.spring&version=2.5.6.A&searchType=librariesByName&searchQuery=spring

The resolvers are:

<url name="com.springsource.repository.bundles.release"> <ivy
pattern="
http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/release/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
"
 /> <artifact
pattern="
http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/release/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
"
 /> </url> <url name="com.springsource.repository.bundles.external"> <ivy
pattern="
http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/external/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
"
 /> <artifact
pattern="
http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/external/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
"
 /> </url>



Target
www.targetgroup.net

Target is a trading name of Target Group Limited,
registered in England and Wales No. 1208137
Registered office:  Target House, Cowbridge Road East, Cardiff CF11 9AU

**********************************************************************
DISCLAIMER.
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL.
If you are not the intended recipient you must not copy,
distribute or take any action or reliance upon it.
The content of this message may also contain personal
views of an employee of this company and does
not necessarily represent the view of the company.
**********************************************************************
This message has been scanned by Norton Anti-Virus.
It has also been scanned by MAILsweeper to enforce our e-mail
policy. If you have any concerns or comments about the content
of this message, please  e-mail supp...@targetgroup.net.
**********************************************************************


_____________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com





Reply via email to