I first tried the build.xml(http://ant.apache.org/ivy/history/trunk/samples/build.xml) from the link on the first tutorial page. I have also tried the src/example/go-ivy/build.xml file from the HEAD revision of CVS. I get similar problems with it. Note that I can build the jar target from the main build.xml for all of ivy with no problem.

Both of the go targets for the tutorials fail to resolve commons-lang. I don't know if others might have this cached in a local repository or if there is something else I am doing wrong.

I have tried this from some other machines and it failed in a similar manner.

Tjeerd Verhagen wrote:
I've used the tutorials last week, and they worked for me. Although I
realize yet, that I've been using IVY before, so I had still some ivy
configurqations tehre. (But they shouldn't be nessesary
~/ivy2/ivysettings.xml).

With which example /tutorial do you run into problems?

Tjeerd

On Dec 5, 2007 2:31 PM, Steve Appling <[EMAIL PROTECTED]> wrote:

I'm just starting to investigate Ivy, but am having problems getting the
tutorial at http://ant.apache.org/ivy/history/trunk/tutorial.html to
work.  Any help would be appreciated.  I'm not behind any proxy.  Does
this tutorial's build file work for other people now?

I get the following result when running ant :
... removed initial part

go:
    [echo] using ivy to resolve commons-lang 2.1...
[ivy:cachepath] :: Ivy 2.0.0-alpha2-incubating - 20070712142751 ::
http://incubator.apache.org/ivy/ ::
[ivy:cachepath] No ivy:settings found for the default reference
'ivy.instance'. A default instance will be used
[ivy:cachepath] no settings file found, using default...
[ivy:cachepath] :: loading settings :: url =

jar:file:/C:/temp/ivy-test/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, test, system]
[ivy:cachepath]         found [ commons-lang | commons-lang | 2.1 ] in
public
[ivy:cachepath] :: resolution report ::

---------------------------------------------------------------------
       |                  |            modules            ||
artifacts   |
       |       conf       | number| search|dwnlded|evicted||
number|dwnlded|

---------------------------------------------------------------------
       |      default     |   1   |   0   |   0   |   0   ||   0   |
0   |
       |      master      |   1   |   0   |   0   |   0   ||   0   |
0   |
       |      compile     |   1   |   0   |   0   |   0   ||   0   |
0   |
       |     provided     |   1   |   0   |   0   |   0   ||   0   |
0   |
       |      runtime     |   1   |   0   |   0   |   0   ||   0   |
0   |
       |       test       |   1   |   0   |   0   |   0   ||   0   |
0   |
       |      system      |   1   |   0   |   0   |   0   ||   0   |
0   |

---------------------------------------------------------------------
[ivy:cachepath]
[ivy:cachepath] :: problems summary ::
[ivy:cachepath] :::: WARNINGS
[ivy:cachepath]
::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]                 ::          UNRESOLVED
DEPENDENCIES         ::
[ivy:cachepath]
::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]                 :: [ commons-lang | commons-lang | 2.1
]: configuration not public in [ commons-lang | commons-lang | 2.1 ]:
test. It was required from [ commons-lang | commons-lang-caller |
working ] test
[ivy:cachepath]
::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
C:\temp\ivy-test\build.xml:85: impossible to resolve dependencies:
resolve failed - see output for details




Reply via email to