Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Re: Possible Ivy resolver bug

Adrian Sandor

2008-02-05

Replies:

Author LoginPost Reply
Hi, it looks like the bz2 attachment was removed; I uploaded it to http://aditsu.net/test.tar.bz2
Also, I just realized this is a general Ant dev list, I should make it clearer that I'm talking about Ivy.

Adrian

----- Original Message ----
From: Adrian Sandor <aditsu@(protected)>
To: dev@(protected)
Sent: Wednesday, February 6, 2008 7:57:02 AM
Subject: Possible resolver bug


Hi, I'm using ivy-2.0.0-beta1, and I think I found a bug in the resolver.
I have a custom repository, containing the stuff in the attached test.tar.bz2, and trying to resolve the attached ivy.xml.
The result is an unresolved dependency: "test#b;1: configuration(s) not found in test#b;1: default. It was required from test#c;1 compile"
I tried to debug it, but didn't get very far. Apparently, becuase "a" doesn't have an ivy file, it is resolved as "default", and that somehow gets added to the confs to fetch for "b", I don't understand why.
Can you investigate?

Thanks
Adrian



-----Inline Attachment Follows-----

<ivy-module
version="2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
 
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
 
<info
organisation="test"
module="test"/>
 
<configurations>
 
 
<conf
name="conf1"/>
 
 
<conf
name="conf2"/>
 
</configurations>
 
<dependencies>
 
 
<dependency
org="test"
name="a"
rev="1"
conf="conf1->*"/>
 
 
<dependency
org="test"
name="c"
rev="1"
conf="conf2->compile"/>
 
</dependencies>
</ivy-module>








   ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.