I haven't used Ivy before, but I've used Ant extensively.  I was trying
to build the Spring Web Flow Booking MVC demo, but it's failing to
build, apparently due to some Ivy downloading problem. I asked about
this on one of the Spring forums, but perhaps I can get a different kind
of answer here.  The build output follows this.  It refers to increasing
the message level for more details, but I'm not certain how to do that.

The "readme.txt" file in the Booking MVC application refers to adding repositories to the ivysettings.xml file, and dependencies to the ivy.xml file. I believe I did that, but the output appears to be the same. The lines it says to add to the "ivy.xml" file seem odd, as they are very similar to existing dependency lines in the file. It doesn't make any difference with or without the new lines, so it's clear there's something else wrong.

I added these lines to the end of the ivysettings.xml file (before the "ivysettings" end tag):
------------
<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>
----------

I added these dependency lines to the "ivy.xml" file:
-------------------
<dependency org="org.springframework.webflow" name="org.springframework.binding" rev="2.0.7.RELEASE" conf="compile->runtime" /> <dependency org="org.springframework.webflow" name="org.springframework.js" rev="2.0.7.RELEASE" conf="compile->runtime" /> <dependency org="org.springframework.webflow" name="org.springframework.webflow" rev="2.0.7.RELEASE" conf="compile->runtime" />
----------------


Build output:
--------------------------
$ ant jar
Buildfile: build.xml
Trying to override old definition of task dist-jar

ivy.init:

ivy.file.exists:

resolve.init:

resolve.compile:
[ivy:cachepath] :: Ivy 2.0.0 - 20090108225011 ::
http://ant.apache.org/ivy/ ::
:: loading settings :: file =
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-build/common/ivysettings.xml
[ivy:cachepath]         [2.0.7.RELEASE]
org.springframework.webflow#org.springframework.js;latest.integration
[ivy:cachepath]         [2.0.7.RELEASE]
org.springframework.webflow#org.springframework.webflow;latest.integration
[ivy:cachepath]
[ivy:cachepath] :: problems summary ::
[ivy:cachepath] :::: WARNINGS
[ivy:cachepath]                 [NOT FOUND  ]
org.springframework.webflow#org.springframework.js;2.0.7.RELEASE!org.springframework.js.jar
(2ms)
[ivy:cachepath]         ==== integration: tried
[ivy:cachepath]         
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-webflow-samples/booking-mvc/../../integration-repo/org.springframework.webflow/org.springframework.js/2.0.7.RELEASE/org.springframework.js-2.0.7.RELEASE.jar
[ivy:cachepath]                 [NOT FOUND  ]
org.springframework.webflow#org.springframework.js;2.0.7.RELEASE!org.springframework.js-sources.jar(src)
(1ms)
[ivy:cachepath]         ==== integration: tried
[ivy:cachepath]         
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-webflow-samples/booking-mvc/../../integration-repo/org.springframework.webflow/org.springframework.js/2.0.7.RELEASE/org.springframework.js-sources-2.0.7.RELEASE.jar
[ivy:cachepath]                 [NOT FOUND  ]
org.springframework.webflow#org.springframework.webflow;2.0.7.RELEASE!org.springframework.webflow-sources.jar(src)
(0ms)
[ivy:cachepath]         ==== integration: tried
[ivy:cachepath]         
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-webflow-samples/booking-mvc/../../integration-repo/org.springframework.webflow/org.springframework.webflow/2.0.7.RELEASE/org.springframework.webflow-sources-2.0.7.RELEASE.jar
[ivy:cachepath]                 [NOT FOUND  ]
org.springframework.webflow#org.springframework.webflow;2.0.7.RELEASE!org.springframework.webflow.jar
(0ms)
[ivy:cachepath]         ==== integration: tried
[ivy:cachepath]         
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-webflow-samples/booking-mvc/../../integration-repo/org.springframework.webflow/org.springframework.webflow/2.0.7.RELEASE/org.springframework.webflow-2.0.7.RELEASE.jar
[ivy:cachepath]                 [NOT FOUND  ]
org.springframework.webflow#org.springframework.binding;2.0.7.RELEASE!org.springframework.binding.jar
(0ms)
[ivy:cachepath]         ==== integration: tried
[ivy:cachepath]         
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-webflow-samples/booking-mvc/../../integration-repo/org.springframework.webflow/org.springframework.binding/2.0.7.RELEASE/org.springframework.binding-2.0.7.RELEASE.jar
[ivy:cachepath]                 [NOT FOUND  ]
org.springframework.webflow#org.springframework.binding;2.0.7.RELEASE!org.springframework.binding-sources.jar(src)
(1ms)
[ivy:cachepath]         ==== integration: tried
[ivy:cachepath]         
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-webflow-samples/booking-mvc/../../integration-repo/org.springframework.webflow/org.springframework.binding/2.0.7.RELEASE/org.springframework.binding-sources-2.0.7.RELEASE.jar
[ivy:cachepath]                 ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]                 ::              FAILED DOWNLOADS            ::
[ivy:cachepath]                 :: ^ see resolution messages for details  ^ ::
[ivy:cachepath]                 ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]                 ::
org.springframework.webflow#org.springframework.js;2.0.7.RELEASE!org.springframework.js.jar
[ivy:cachepath]                 ::
org.springframework.webflow#org.springframework.js;2.0.7.RELEASE!org.springframework.js-sources.jar(src)
[ivy:cachepath]                 ::
org.springframework.webflow#org.springframework.webflow;2.0.7.RELEASE!org.springframework.webflow-sources.jar(src)
[ivy:cachepath]                 ::
org.springframework.webflow#org.springframework.webflow;2.0.7.RELEASE!org.springframework.webflow.jar
[ivy:cachepath]                 ::
org.springframework.webflow#org.springframework.binding;2.0.7.RELEASE!org.springframework.binding.jar
[ivy:cachepath]                 ::
org.springframework.webflow#org.springframework.binding;2.0.7.RELEASE!org.springframework.binding-sources.jar(src)
[ivy:cachepath]                 ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/davidkarr/frameworks/spring-webflow-2.0.7.RELEASE/projects/spring-build/common/common.xml:87:
impossible to resolve dependencies:
        resolve failed - see output for details

Total time: 1 minute 33 seconds
------------------

Reply via email to