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 Tyler Kocheran <rf...@gmail.com> on 2009/02/04 01:58:32 UTC

Problems downloading the Spring Framework: Ivy 2.0.0

I'm trying to download the Spring Framework using Ivy. Ivy works fine for
some other packages (not Hibernate :[ ), but not for Spring. I manually
deleted my ivy cache and manually replaced my .ant/lib/ivy.jar file with the
new one. My Ivy version shows up as: "Ivy 2.0.0 - 20090108225011". This is
my Ant build file:

<?xml version="1.0"?>
<project name="ivyRedux" basedir="."
    xmlns:ivy="antlib:org.apache.ivy.ant">

    <target name="resolve">
        <ivy:cleancache/>
        <ivy:resolve/>
    </target>
</project>

And here's 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="spring" rev="2.5.5"/>
        <!-- It fails on 2.5.6 too. -->
    </dependencies>
</ivy-module>

It generates a warning somewhere down the way:
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |  116  |   84  |   80  |   21  ||   82  |   74  |
    ---------------------------------------------------------------------
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         :: javax.ejb#ejb;3.0: not found
[ivy:resolve]         :: commons-attributes#commons-attributes-compiler;2.2:
java.text.ParseException: inconsistent module descriptor file found in '
http://repo1.maven.org/maven2/commons-attributes/commons-attributes-compiler/2.2/commons-attributes-compiler-2.2.pom':
bad revision: expected='2.2' found='2.1';
[ivy:resolve]         :: org.apache.ibatis#ibatis-sqlmap;2.3.0.677: not
found
[ivy:resolve]         :: com.oracle#toplink-essentials;2.41: not found
[ivy:resolve]         :: com.oracle#oc4j;1.0: not found
[ivy:resolve]         :: freemarker#freemarker;2.3.12: not found
[ivy:resolve]         :: groovy#groovy;1.5.5: not found
[ivy:resolve]         :: hessian#hessian;3.1.3: not found
[ivy:resolve]         :: jexcelapi#jxl;2.6.6: not found
[ivy:resolve]         :: jruby#jruby-bin;1.0.1: not found
[ivy:resolve]         :: org.hibernate#hibernate-entitymanager;3.3.2.ga: not
found
[ivy:resolve]         :: poi#poi;3.0.1: not found
[ivy:resolve]         :: velocity#velocity;1.5: java.text.ParseException:
inconsistent module descriptor file found in '
http://repo1.maven.org/maven2/velocity/velocity/1.5/velocity-1.5.pom': bad
organisation: expected='velocity' found='org.apache.velocity';
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         ::              FAILED DOWNLOADS            ::
[ivy:resolve]         :: ^ see resolution messages for details  ^ ::
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         :: javax.faces#jsf-api;1.1!jsf-api.jar
[ivy:resolve]         :: javax.jms#jms;1.1!jms.jar
[ivy:resolve]         :: javax.resource#connector-api;1.5!connector-api.jar
[ivy:resolve]         :: com.bea.wlplatform#commonj-twm;1.1!commonj-twm.jar
[ivy:resolve]         :: com.oracle.toplink#toplink;10.1.3!toplink.jar
[ivy:resolve]         :: javax.resource#connector;1.0!connector.jar
[ivy:resolve]         :: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
[ivy:resolve]         :: com.sun.jmx#jmxri;1.2.1!jmxri.jar
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :::: ERRORS
[ivy:resolve]         public: bad revision found in
http://repo1.maven.org/maven2/commons-attributes/commons-attributes-compiler/2.2/commons-attributes-compiler-2.2.pom:
expected='2.2 found='2.1'
[ivy:resolve]     Relocation to an other version number not supported in ivy
: xml-apis#xml-apis;2.0.2 relocated to xml-apis#xml-apis;1.0.b2. Please
update your dependency to directly use the right version.
[ivy:resolve]         public: bad organisation found in
http://repo1.maven.org/maven2/velocity/velocity/1.5/velocity-1.5.pom:
expected='velocity' found='org.apache.velocity'
[ivy:resolve]

I've attached my complete log file as an attachment to save your eyes :)
What am I doing wrong here? I'm desperately trying to use Ivy and I just
can't seem to make it work in any real-world scenario.

Thanks,
 - TK

-- 
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.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Tyler Kocheran <rf...@gmail.com>.
Sweet, I'll try that. Is there an XSD for validation of ivysettings.xml
files?

On Wed, Feb 4, 2009 at 2:52 AM, <pa...@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 support@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
>



-- 
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.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by tommy xiao <xi...@gmail.com>.
@Tyler,
I use your conf,get spring success.no modified settings.
winxp,ivy2.0,Maybe use another computer to try again.

2009/2/5 <pa...@targetgroup.net>

>
>
>
>
>
> Get all deps from the Spring repo. Just search for log4j here:
>
> http://www.springsource.com/repository/app/search
>
>
>
>             Tyler Kocheran
>             <rfkrocktk@gmail.
>             com>                                                       To
>                                       ivy-user@ant.apache.org
>             04/02/2009 19:48                                           cc
>
>                                                                   Subject
>             Please respond to         Re: Problems downloading the Spring
>             ivy-user@ant.apac         Framework: Ivy 2.0.0
>                  he.org
>
>
>
>
>
>
>
>
>
> OK. I'm starting to get the jist of Ivy now. Next on my dependency most
> wanted list is log4j. I can't seem to get that library. Is there a way for
> me to reenable the mvnrepository.com resolver?
>
> Are there any tutorials out there for finding good resolvers on the web? It
> seems the main problem with Ivy is not having all of the correct resolvers.
>
> On Wed, Feb 4, 2009 at 11:21 AM, Kirby Files <kf...@masergy.com> wrote:
>
> > Tyler Kocheran wrote on 02/04/2009 01:57 PM:
> >
> >> The error actually turned out to be in this line:
> >> <dependency org="org.springframework"
> >> name="org.springframework.spring-library" rev="2.5.6.A" />
> >>
> >> If I change that line to something else that's a real package, like
> >> "org.springframework.orm", it works. How do I download the entire Spring
> >> Framework, though? If I can't figure that out, whatever, I have Ivy
> >> working... finally :)
> >>
> >
> > Good. I've used the org.springframework.core module to retrieve the main
> > framework before.
> >
> >  How do I specify an output folder for Ivy to copy the jars to, ie make
> it
> >> dump 'em to my /lib folder? And do I need to set up a filesystem
> resolver
> >> to
> >> take advantage of caching or is that necessary?
> >>
> >
> > Generally, you do that with the ivy:retrieve task like so:
> >
> >    <target name="retrieve" depends="resolve" description="--> retrieve
> jars
> > to /lib">
> >        <ivy:retrieve haltonfailure="true" conf="build" sync="true"/>
> >    </target>
> >
> > It will, by default, install to ${basedir}/lib, but you can override this
> > by changing the ivy.lib.dir property, or setting:
> >  pattern="${lib.dir}/[artifact]-[revision].[ext]"
> > on the above retrieve task.
> >
> > Thanks,
> >
> >  --kirby
> >
>
>
>
> --
> 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.
>
>
>  _____________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
>
>
>
> 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 support@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
>



-- 
tommy xiao
QQ: 2667799
MSN Messenger: xds2000ATmsn.com
E-mail: xiaodsATgmail.com

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Tyler Kocheran <rf...@gmail.com>.
I'm going to try and use Ivy RoundUp. I'll check out the jboss repositories
in a bit :)
Thanks so much for your help.

On Wed, Feb 4, 2009 at 11:56 AM, Kirby Files <kf...@masergy.com> wrote:

> Tyler Kocheran wrote on 02/04/2009 02:48 PM:
>
>> OK. I'm starting to get the jist of Ivy now. Next on my dependency most
>> wanted list is log4j. I can't seem to get that library. Is there a way for
>> me to reenable the mvnrepository.com resolver?
>>
>> Are there any tutorials out there for finding good resolvers on the web?
>> It
>> seems the main problem with Ivy is not having all of the correct
>> resolvers.
>>
>
> Well, I use these two all of the time:
>
>    <ibiblio name="libraries" m2compatible="true" usepoms="false"/>
>    <ibiblio name="jboss" root="http://repository.jboss.com/maven2"
>                        m2compatible="true" usepoms="false"/>
>
>
> The ibiblio resolver is the maven2 repo.
>
> Also, the Ivy Roundup package resolver provides lots of modules for
> projects which do not have a repository:
>
> http://code.google.com/p/ivyroundup/
>
>
> Thanks,
> ---
> Kirby Files
> Software Architect
> Masergy Communications
> kfiles@masergy.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.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Kirby Files <kf...@masergy.com>.
Tyler Kocheran wrote on 02/04/2009 02:48 PM:
> OK. I'm starting to get the jist of Ivy now. Next on my dependency most
> wanted list is log4j. I can't seem to get that library. Is there a way for
> me to reenable the mvnrepository.com resolver?
> 
> Are there any tutorials out there for finding good resolvers on the web? It
> seems the main problem with Ivy is not having all of the correct resolvers.

Well, I use these two all of the time:

     <ibiblio name="libraries" m2compatible="true" usepoms="false"/>
     <ibiblio name="jboss" root="http://repository.jboss.com/maven2"
                         m2compatible="true" usepoms="false"/>


The ibiblio resolver is the maven2 repo.

Also, the Ivy Roundup package resolver provides lots of modules for 
projects which do not have a repository:

http://code.google.com/p/ivyroundup/

Thanks,
---
Kirby Files
Software Architect
Masergy Communications
kfiles@masergy.com

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by pa...@targetgroup.net.




Get all deps from the Spring repo. Just search for log4j here:

http://www.springsource.com/repository/app/search


                                                                           
             Tyler Kocheran                                                
             <rfkrocktk@gmail.                                             
             com>                                                       To 
                                       ivy-user@ant.apache.org             
             04/02/2009 19:48                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: Problems downloading the Spring 
             ivy-user@ant.apac         Framework: Ivy 2.0.0                
                  he.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




OK. I'm starting to get the jist of Ivy now. Next on my dependency most
wanted list is log4j. I can't seem to get that library. Is there a way for
me to reenable the mvnrepository.com resolver?

Are there any tutorials out there for finding good resolvers on the web? It
seems the main problem with Ivy is not having all of the correct resolvers.

On Wed, Feb 4, 2009 at 11:21 AM, Kirby Files <kf...@masergy.com> wrote:

> Tyler Kocheran wrote on 02/04/2009 01:57 PM:
>
>> The error actually turned out to be in this line:
>> <dependency org="org.springframework"
>> name="org.springframework.spring-library" rev="2.5.6.A" />
>>
>> If I change that line to something else that's a real package, like
>> "org.springframework.orm", it works. How do I download the entire Spring
>> Framework, though? If I can't figure that out, whatever, I have Ivy
>> working... finally :)
>>
>
> Good. I've used the org.springframework.core module to retrieve the main
> framework before.
>
>  How do I specify an output folder for Ivy to copy the jars to, ie make
it
>> dump 'em to my /lib folder? And do I need to set up a filesystem
resolver
>> to
>> take advantage of caching or is that necessary?
>>
>
> Generally, you do that with the ivy:retrieve task like so:
>
>    <target name="retrieve" depends="resolve" description="--> retrieve
jars
> to /lib">
>        <ivy:retrieve haltonfailure="true" conf="build" sync="true"/>
>    </target>
>
> It will, by default, install to ${basedir}/lib, but you can override this
> by changing the ivy.lib.dir property, or setting:
>  pattern="${lib.dir}/[artifact]-[revision].[ext]"
> on the above retrieve task.
>
> Thanks,
>
>  --kirby
>



--
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.


_____________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System.



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 support@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

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Kirby Files <kf...@masergy.com>.
Tyler Kocheran wrote on 02/04/2009 02:48 PM:
> OK. I'm starting to get the jist of Ivy now. Next on my dependency most
> wanted list is log4j. I can't seem to get that library. Is there a way for
> me to reenable the mvnrepository.com resolver?
> 
> Are there any tutorials out there for finding good resolvers on the web? It
> seems the main problem with Ivy is not having all of the correct resolvers.

Well, I use these two all of the time:



> 
> On Wed, Feb 4, 2009 at 11:21 AM, Kirby Files <kf...@masergy.com> wrote:
> 
>> Tyler Kocheran wrote on 02/04/2009 01:57 PM:
>>
>>> The error actually turned out to be in this line:
>>> <dependency org="org.springframework"
>>> name="org.springframework.spring-library" rev="2.5.6.A" />
>>>
>>> If I change that line to something else that's a real package, like
>>> "org.springframework.orm", it works. How do I download the entire Spring
>>> Framework, though? If I can't figure that out, whatever, I have Ivy
>>> working... finally :)
>>>
>> Good. I've used the org.springframework.core module to retrieve the main
>> framework before.
>>
>>  How do I specify an output folder for Ivy to copy the jars to, ie make it
>>> dump 'em to my /lib folder? And do I need to set up a filesystem resolver
>>> to
>>> take advantage of caching or is that necessary?
>>>
>> Generally, you do that with the ivy:retrieve task like so:
>>
>>    <target name="retrieve" depends="resolve" description="--> retrieve jars
>> to /lib">
>>        <ivy:retrieve haltonfailure="true" conf="build" sync="true"/>
>>    </target>
>>
>> It will, by default, install to ${basedir}/lib, but you can override this
>> by changing the ivy.lib.dir property, or setting:
>>  pattern="${lib.dir}/[artifact]-[revision].[ext]"
>> on the above retrieve task.
>>
>> Thanks,
>>
>>  --kirby
>>
> 
> 
> 


Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Tyler Kocheran <rf...@gmail.com>.
OK. I'm starting to get the jist of Ivy now. Next on my dependency most
wanted list is log4j. I can't seem to get that library. Is there a way for
me to reenable the mvnrepository.com resolver?

Are there any tutorials out there for finding good resolvers on the web? It
seems the main problem with Ivy is not having all of the correct resolvers.

On Wed, Feb 4, 2009 at 11:21 AM, Kirby Files <kf...@masergy.com> wrote:

> Tyler Kocheran wrote on 02/04/2009 01:57 PM:
>
>> The error actually turned out to be in this line:
>> <dependency org="org.springframework"
>> name="org.springframework.spring-library" rev="2.5.6.A" />
>>
>> If I change that line to something else that's a real package, like
>> "org.springframework.orm", it works. How do I download the entire Spring
>> Framework, though? If I can't figure that out, whatever, I have Ivy
>> working... finally :)
>>
>
> Good. I've used the org.springframework.core module to retrieve the main
> framework before.
>
>  How do I specify an output folder for Ivy to copy the jars to, ie make it
>> dump 'em to my /lib folder? And do I need to set up a filesystem resolver
>> to
>> take advantage of caching or is that necessary?
>>
>
> Generally, you do that with the ivy:retrieve task like so:
>
>    <target name="retrieve" depends="resolve" description="--> retrieve jars
> to /lib">
>        <ivy:retrieve haltonfailure="true" conf="build" sync="true"/>
>    </target>
>
> It will, by default, install to ${basedir}/lib, but you can override this
> by changing the ivy.lib.dir property, or setting:
>  pattern="${lib.dir}/[artifact]-[revision].[ext]"
> on the above retrieve task.
>
> Thanks,
>
>  --kirby
>



-- 
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.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Kirby Files <kf...@masergy.com>.
Tyler Kocheran wrote on 02/04/2009 01:57 PM:
> The error actually turned out to be in this line:
> <dependency org="org.springframework"
> name="org.springframework.spring-library" rev="2.5.6.A" />
> 
> If I change that line to something else that's a real package, like
> "org.springframework.orm", it works. How do I download the entire Spring
> Framework, though? If I can't figure that out, whatever, I have Ivy
> working... finally :)

Good. I've used the org.springframework.core module to retrieve the 
main framework before.

> How do I specify an output folder for Ivy to copy the jars to, ie make it
> dump 'em to my /lib folder? And do I need to set up a filesystem resolver to
> take advantage of caching or is that necessary?

Generally, you do that with the ivy:retrieve task like so:

     <target name="retrieve" depends="resolve" description="--> 
retrieve jars to /lib">
         <ivy:retrieve haltonfailure="true" conf="build" sync="true"/>
     </target>

It will, by default, install to ${basedir}/lib, but you can override 
this by changing the ivy.lib.dir property, or setting:
   pattern="${lib.dir}/[artifact]-[revision].[ext]"
on the above retrieve task.

Thanks,

   --kirby

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Tyler Kocheran <rf...@gmail.com>.
The error actually turned out to be in this line:
<dependency org="org.springframework"
name="org.springframework.spring-library" rev="2.5.6.A" />

If I change that line to something else that's a real package, like
"org.springframework.orm", it works. How do I download the entire Spring
Framework, though? If I can't figure that out, whatever, I have Ivy
working... finally :)

How do I specify an output folder for Ivy to copy the jars to, ie make it
dump 'em to my /lib folder? And do I need to set up a filesystem resolver to
take advantage of caching or is that necessary?

On Wed, Feb 4, 2009 at 10:03 AM, Tyler Kocheran <rf...@gmail.com> wrote:

> 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]<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="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 <kf...@masergy.com> 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
>> kfiles@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]<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, <pa...@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>
>>>> <
>>>> 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 support@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
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
> --
> 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.
>



-- 
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.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Tyler Kocheran <rf...@gmail.com>.
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 <kf...@masergy.com> 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
> kfiles@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]<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, <pa...@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>
>>> <
>>> 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 support@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
>>>
>>>
>>
>>
>>
>


-- 
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.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Kirby Files <kf...@masergy.com>.
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
kfiles@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, <pa...@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 support@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
>>
> 
> 
> 


Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by Tyler Kocheran <rf...@gmail.com>.
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, <pa...@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 support@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
>



-- 
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.

Re: Problems downloading the Spring Framework: Ivy 2.0.0

Posted by pa...@targetgroup.net.




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]"
 /> <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>



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 support@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