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 "mg@openprinciple.com" <mg...@openprinciple.com> on 2007/09/11 02:17:31 UTC

Hello-Ivy UNRESOLVED DEPENDENCIES

Hello all, 

I can't understand what might be wrong here. I checked out
the latest version from SVN trunk and did a complete build
on it without errors. I copied the build/artifact/*.lib to
my ant/lib directory and try to run hello-ivy example. The
example ends with The error below.

I am not having any firewall issues. I am sure that it is
not looking in the right place to resolve the dependency.
I've tried changing the ivy.xml file to use commons-lang
2.3, which I can see in the local repository cache file, but
I get the same error. How do I set the ivy:settings to look
in the correct repository?  Whay does this not work when the
ant build to build ivy does?

Thanks in advance, 

MG

C:\Frameworks\OpenSource\ivy\src\example\hello-ivy>ant
Buildfile: build.xml

resolve:
[ivy:retrieve] :: Ivy
2.0.0-beta1-incubating-local-20070910180041 - 200709101800
41 :: http://incubator.apache.org/ivy/ ::
[ivy:retrieve] No ivy:settings found for the default
reference 'ivy.instance'.
A default instance will be used
[ivy:retrieve] :: loading settings :: file =
C:\Frameworks\OpenSource\ivy\src\ex
ample\hello-ivy\ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: [ apache |
hello-ivy | working@ocl51
26177 ]
[ivy:retrieve]  confs: [default]
[ivy:retrieve] :: resolution report ::
       
---------------------------------------------------------------------
        |                  |            modules           
||   artifacts   |
        |       conf       | number|
search|dwnlded|evicted|| number|dwnlded|
       
---------------------------------------------------------------------
        |      default     |   1   |   0   |   0   |   0  
||   0   |   0   |
       
---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found: [ apache |
commons-lang | 2.1 ]
[ivy:retrieve]  ==== local: tried
[ivy:retrieve]   
C:\Frameworks\OpenSource\ivy\src\example\hello-ivy/local/commo
ns-lang/ivy.xml
[ivy:retrieve]    -- artifact [ apache | commons-lang | 2.1
]/commons-lang.jar[j
ar]:
[ivy:retrieve]   
C:\Frameworks\OpenSource\ivy\src\example\hello-ivy/local/commo
ns-lang/commons-lang.jar
[ivy:retrieve]         
::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES 
       ::
[ivy:retrieve]         
::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: [ apache | commons-lang | 2.1 ]:
not found
[ivy:retrieve]         
::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR
MORE DETAILS

BUILD FAILED
C:\Frameworks\OpenSource\ivy\src\example\hello-ivy\build.xml:38:
impossible to r
esolve dependencies: resolve failed - see output for details

Total time: 1 second
C:\Frameworks\OpenSource\ivy\src\example\hello-ivy>

Re: Ivy Beta

Posted by Xavier Hanin <xa...@gmail.com>.
Indeed, this is something we need to discuss, we were supposed to release a
beta much earlier. I haven't been available very much lately, so I haven't
done much for the beta. But next week I should find some time to work on the
tutorials (making sure the tutorials work is mandatory for the beta IMO).

What do others think?

Xavier

On 10/5/07, Nascif Abousalh-Neto <Na...@sas.com> wrote:
>
> Hi,
>
> Is there an estimate for the release of the 2.0 beta? It contains a
> reasonable number of important bug fixes (like IVY-590 that just stopped
> our builds cold), and it is hard to convince management to adopt an
> alpha version or a snapshot cut for production.
>
> Thanks,
>   Nascif
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Ivy Beta

Posted by Nascif Abousalh-Neto <Na...@sas.com>.
Hi,

Is there an estimate for the release of the 2.0 beta? It contains a
reasonable number of important bug fixes (like IVY-590 that just stopped
our builds cold), and it is hard to convince management to adopt an
alpha version or a snapshot cut for production.

Thanks,
  Nascif


RE: Hello-Ivy UNRESOLVED DEPENDENCIES

Posted by Gilles Scokart <gs...@gmail.com>.
There is an error in tutorial.  I think the version on the trunk for the
hello-ivy tutorial is fixed (but other might still contains errors).

You can also search in the archive of the mail, there is more details.

Gilles

> -----Original Message-----
> From: mg@openprinciple.com [mailto:mg@openprinciple.com]
> Sent: mardi 11 septembre 2007 2:18
> To: ivy-user@incubator.apache.org
> Subject: Hello-Ivy UNRESOLVED DEPENDENCIES
> 
> Hello all,
> 
> I can't understand what might be wrong here. I checked out
> the latest version from SVN trunk and did a complete build
> on it without errors. I copied the build/artifact/*.lib to
> my ant/lib directory and try to run hello-ivy example. The
> example ends with The error below.
> 
> I am not having any firewall issues. I am sure that it is
> not looking in the right place to resolve the dependency.
> I've tried changing the ivy.xml file to use commons-lang
> 2.3, which I can see in the local repository cache file, but
> I get the same error. How do I set the ivy:settings to look
> in the correct repository?  Whay does this not work when the
> ant build to build ivy does?
> 
> Thanks in advance,
> 
> MG
> 
> C:\Frameworks\OpenSource\ivy\src\example\hello-ivy>ant
> Buildfile: build.xml
> 
> resolve:
> [ivy:retrieve] :: Ivy
> 2.0.0-beta1-incubating-local-20070910180041 - 200709101800
> 41 :: http://incubator.apache.org/ivy/ ::
> [ivy:retrieve] No ivy:settings found for the default
> reference 'ivy.instance'.
> A default instance will be used
> [ivy:retrieve] :: loading settings :: file =
> C:\Frameworks\OpenSource\ivy\src\ex
> ample\hello-ivy\ivysettings.xml
> [ivy:retrieve] :: resolving dependencies :: [ apache |
> hello-ivy | working@ocl51
> 26177 ]
> [ivy:retrieve]  confs: [default]
> [ivy:retrieve] :: resolution report ::
> 
> ---------------------------------------------------------------------
>         |                  |            modules
> ||   artifacts   |
>         |       conf       | number|
> search|dwnlded|evicted|| number|dwnlded|
> 
> ---------------------------------------------------------------------
>         |      default     |   1   |   0   |   0   |   0
> ||   0   |   0   |
> 
> ---------------------------------------------------------------------
> [ivy:retrieve]
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve]          module not found: [ apache |
> commons-lang | 2.1 ]
> [ivy:retrieve]  ==== local: tried
> [ivy:retrieve]
> C:\Frameworks\OpenSource\ivy\src\example\hello-ivy/local/commo
> ns-lang/ivy.xml
> [ivy:retrieve]    -- artifact [ apache | commons-lang | 2.1
> ]/commons-lang.jar[j
> ar]:
> [ivy:retrieve]
> C:\Frameworks\OpenSource\ivy\src\example\hello-ivy/local/commo
> ns-lang/commons-lang.jar
> [ivy:retrieve]
> ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES
>        ::
> [ivy:retrieve]
> ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          :: [ apache | commons-lang | 2.1 ]:
> not found
> [ivy:retrieve]
> ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR
> MORE DETAILS
> 
> BUILD FAILED
> C:\Frameworks\OpenSource\ivy\src\example\hello-ivy\build.xml:38:
> impossible to r
> esolve dependencies: resolve failed - see output for details
> 
> Total time: 1 second
> C:\Frameworks\OpenSource\ivy\src\example\hello-ivy>