Hello,
I'm trying to do the first steps with Ivy. Downloaded the build.xml from the
tutorials page and configured the proxy settings for ant, then I startet ant.
Ivy.jar is downloaded, which shows, that the proxy settings are correct.
However the ivy.cachepath task fails. What is wrong?
Regards,
Ralf
Here some system information:
test25:ivyTrials rp$ ant -version
Apache Ant(TM) version 1.8.2 compiled on June 3 2011
test25:ivyTrials rp$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
test25:ivyTrials rp$ uname -a
Darwin test25.wibu.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7
16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
Here the output from the ant call:
test25:ivyTrials rp$ ant
Buildfile: /Users/rp/ivyTrials/build.xml
download-ivy:
[echo] installing ivy...
[get] Getting:
http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.0.0-beta1/ivy-2.0.0-beta1.jar
[get] To: /Users/rp/ivyTrials/ivy/ivy.jar
install-ivy:
generate-src:
[mkdir] Created dir: /Users/rp/ivyTrials/src/example
go:
[echo] using ivy to resolve commons-lang 2.1...
No ivy:settings found for the default reference 'ivy.instance'. A default
instance will be used
no settings file found, using default...
[ivy:cachepath] :: Ivy 2.0.0-beta1 - 20071206070608 ::
http://ant.apache.org/ivy/ ::
:: loading settings :: url =
jar:file:/Users/rp/ivyTrials/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:cachepath] :: resolving dependencies ::
commons-lang#commons-lang-caller;working
[ivy:cachepath] confs: [default, master, compile, provided, runtime,
system]
[ivy:cachepath] found commons-lang#commons-lang;2.1 in public
[ivy:cachepath] downloading
http://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
...
[ivy:cachepath] .............................. (202kB)
[ivy:cachepath] .. (0kB)
[ivy:cachepath] :: resolution report :: resolve 372ms :: artifacts dl 1301ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 1 | 0 | 0 | 0 || 1 | 0 |
| master | 1 | 0 | 0 | 0 || 1 | 0 |
| compile | 1 | 0 | 0 | 0 || 0 | 0 |
| provided | 1 | 0 | 0 | 0 || 0 | 0 |
| runtime | 1 | 0 | 0 | 0 || 0 | 0 |
| system | 1 | 0 | 0 | 0 || 0 | 0 |
---------------------------------------------------------------------
[ivy:cachepath]
[ivy:cachepath] :: problems summary ::
[ivy:cachepath] :::: WARNINGS
[ivy:cachepath] [FAILED ]
commons-lang#commons-lang;2.1!commons-lang.jar: invalid sha1: expected=?
computed=4763ecc9d78781c915c07eb03e90572c7ff04205 (1297ms)
[ivy:cachepath] [FAILED ]
commons-lang#commons-lang;2.1!commons-lang.jar: (0ms)
[ivy:cachepath] ==== shared: tried
[ivy:cachepath]
/Users/rp/.ivy2/shared/commons-lang/commons-lang/2.1/jars/commons-lang.jar
[ivy:cachepath] ==== public: tried
[ivy:cachepath]
http://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] :: FAILED DOWNLOADS ::
[ivy:cachepath] :: ^ see resolution messages for details ^ ::
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] ::
commons-lang#commons-lang;2.1!commons-lang.jar
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/Users/rp/ivyTrials/build.xml:85: impossible to resolve dependencies:
resolve failed - see output for details