Gave that one a run, I'm still getting build failed, it doesn't even
download any files at all at this point.
My build.xml file:
<?xml version="1.0"?>
<project name="ivyRedux" basedir="."
xmlns:ivy="antlib:org.apache.ivy.ant">
<target name="resolve">
<ivy:resolve/>
</target>
</project>
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>
And my ivysettings.xml file:
<?xml version="1.0"?>
<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="com.springsource.repository.bundles.external"/>
</chain>
</resolvers>
</ivysettings>
And here is the error output that I'm getting:
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found:
org.springframework#org.springframework.spring-library;2.5.6.A
[ivy:resolve] ==== com.springsource.repository.bundles.release: tried
[ivy:resolve]
http://repository.springsource.com/ivy/bundles/release/org.springframework/org.springframework.spring-library/2.5.6.A/ivy-2.5.6.A.xml
[ivy:resolve] -- artifact
org.springframework#org.springframework.spring-library;2.5.6.A!org.springframework.spring-library.jar:
[ivy:resolve]
http://repository.springsource.com/ivy/bundles/release/org.springframework/org.springframework.spring-library/2.5.6.A/org.springframework.spring-library-2.5.6.A.jar
[ivy:resolve] ==== com.springsource.repository.bundles.external: tried
[ivy:resolve]
http://repository.springsource.com/ivy/bundles/external/org.springframework/org.springframework.spring-library/2.5.6.A/ivy-2.5.6.A.xml
[ivy:resolve] -- artifact
org.springframework#org.springframework.spring-library;2.5.6.A!org.springframework.spring-library.jar:
[ivy:resolve]
http://repository.springsource.com/ivy/bundles/external/org.springframework/org.springframework.spring-library/2.5.6.A/org.springframework.spring-library-2.5.6.A.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] ::
org.springframework#org.springframework.spring-library;2.5.6.A: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Does anyone else have this problem? Thank you all for your help.
On Wed, Feb 4, 2009 at 9:51 AM, Kirby Files <[email protected]> wrote:
> 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]<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>
> <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
> [email protected]
>
> 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]<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>
>> </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, <[email protected]> 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>
>>> <
>>> 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>
>>> <
>>> 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>
>>> <
>>> 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>
>>> <
>>> 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 [email protected].
>>> **********************************************************************
>>>
>>>
>>> _____________________________________________________________________
>>> 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
>>>
>>>
>>
>>
>>
>
--
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.