Multiple artifacts of the module X are retrieved to the same file! Update the retrieve pattern to fix this error.

2010-06-06 Thread Jorge Medina
I upgraded to Ivy 2.1.0 and now I am getting the error when retrieving log4j. impossible to ivy retrieve: java.lang.RuntimeException: problem during retrieve of com.example#the-prototype: java.lang.RuntimeException: Multiple artifacts of the module log4j#log4j;1.2.13 are retrieved to the same file

Re: Issue with Ivy custome resolver

2010-06-06 Thread Maarten Coene
Can you post your settings.xml so we can see what you already have done? Maarten - Original Message From: Shaikh Almas To: ivy-user@ant.apache.org Sent: Sun, June 6, 2010 11:24:06 AM Subject: Issue with Ivy custome resolver Hi, Can anyone help me with creating custom ivy resolver. I

Re: Fwd: Multiple artifacts of the module X are retrieved to the same file! Update the retrieve pattern to fix this error.

2010-06-06 Thread Maarten Coene
Are you sure that it's not a problem of your retrieve pattern as Ivy suggests? If this pattern for instance doesn't has the [type] or [classifier] token, Ivy will download the source/javadoc artifacts to the same file as the regular jar which will give this error. If however your retrieve patter

Re: Issue with Ivy custome resolver

2010-06-06 Thread Geoff Clitheroe
Are you trying to do something that you can't do with the existing Ant or JVM proxy options? Check the FAQ and search for proxy http://ant.apache.org/ivy/faq.html Also http://ant.apache.org/manual/proxy.html Cheers, Geoff On Sun, Jun 6, 2010 at 9:24 PM, Shaikh Almas wrote: > Hi, > Can anyone

Fwd: Multiple artifacts of the module X are retrieved to the same file! Update the retrieve pattern to fix this error.

2010-06-06 Thread Jorge Medina
Hello Ivy Users: I upgraded to Ivy 2.1.0 from 2.0.0 and now I am getting the error when retrieving log4j. impossible to ivy retrieve: java.lang.RuntimeException: problem during retrieve of com.example#the-prototype: java.lang.RuntimeException: Multiple artifacts of the module log4j#log4j;1.2.13 a

Issue with Ivy custome resolver

2010-06-06 Thread Shaikh Almas
Hi, Can anyone help me with creating custom ivy resolver. I wish to extend URLResolver, such that it will have a new class say called ProxyURLResolver where i will set the proxy, resolve the artifact and then remove the proxy setting. I tried extending URLResolver directly before calling setReposit