Java Mailing List Archive

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

Home » Ant Developers List »

Possible resolver bug

Adrian Sandor

2008-02-05


Author LoginPost Reply
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


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
<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>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.