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 Daniel Serodio <na...@neverbox.com> on 2008/01/28 22:06:27 UTC

Re: Problem with Tutorial

Sorry for the delay. The build.xml file you pointed to works ok, but the one
linked @ http://ant.apache.org/ivy/history/latest-milestone/tutorial.html
doesn't work (and it still references Ivy 2.0.0-alpha-2-incubating).

Is "latest-milestone/" a symlink? An automatically-generated dir? It needs
updating...

Thanks in advance,
Daniel Serodio


Maarten Coene wrote:
> 
> Could you try with the following build file?
> https://svn.apache.org/repos/asf/ant/ivy/core/trunk/doc/samples/build.xml
> 
> regards,
> Maarten
> 
> ----- Original Message ----
> From: Daniel Serodio <na...@neverbox.com>
> To: ivy-user@incubator.apache.org
> Sent: Monday, December 17, 2007 7:31:44 PM
> Subject: RE: Problem with Tutorial
> 
> 
> 
> It still doesn't work for me with 2.0 beta 1. The build.xml from the
>  trunk @
> http://ant.apache.org/ivy/history/trunk/samples/build.xml still
>  reference
> 2.0.0-alpha-2-incubating and http://people.apache.org/~xavier/ivy/ so I
> still get the same error from last week.
> 
> Thanks,
> Daniel Serodio
> 
> 
> Xavier Hanin-5 wrote:
>> 
>> As Gilles said, the tutorials have been reviewed recently, and many
>  of
>> them were still failing with 2.0 alpha 2. So what we can suggest if
>  you
>> want to use 2.0 stream is to either build Ivy from trunk and put this
>  jar
>> in your ant lib to run the tutorials, or wait for 2.0 beta 1 to come
>  out
>> (we have never been so closed to get it, it's currently pending vote
>> approval.
>> 
>> Xavier
>> 
>>> -----Original Message-----
>>> From: Steve Appling [mailto:sajakarta@appling.org]
>>> Sent: Wednesday, December 05, 2007 1:34 PM
>>> To: ivy-user@incubator.apache.org
>>> Subject: Re: Problem with Tutorial
>>>
>>> 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 <sa...@appling.org>
>  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
>>> >>
>>> >>
>>> >>
>>> >
>> 
>> 
> 
> -- 
> View this message in context:
>  http://www.nabble.com/Problem-with-Tutorial-tp14171744p14373974.html
> Sent from the ivy-user mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
>      
> ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-Tutorial-tp14171744p15145271.html
Sent from the ivy-user mailing list archive at Nabble.com.