Could you please post your ivysettings.xml and your ivy.xml as well? Maarten
----- Original Message ---- From: Nathaniel Auvil <[email protected]> To: [email protected] Sent: Wednesday, May 27, 2009 1:31:25 PM Subject: Re: Multiple artifacts of the module commons-logging#commons-logging;1.1.1 are retrieved to the same file! with: <target name="resolve" description="downloads jars and places in the 'lib' directory"> <ivy:settings file="ivysettings.xml"/> <!--ivy:retrieve pattern="lib/[artifact].[revision].[ext]" sync="true"/ --> <ivy:retrieve pattern="lib/[conf]/[type]/[artifact].[revision](-[classifier]).[ext]" sync="true"/> </target> still get: java.lang.RuntimeException: Multiple artifacts of the module commons-logging#commons-logging;1.1.1 are retrieved to the same file! Update the retrieve pattern to fix this error. On Tue, May 26, 2009 at 5:13 PM, Maarten Coene <[email protected]>wrote: > > Could you give it a try with the following pattern: > pattern="lib/[conf]/[type]/[artifact].[revision](-[classifier]).[ext]" > > Maarten > > > > > ----- Original Message ---- > From: Nathaniel Auvil <[email protected]> > To: [email protected] > Sent: Tuesday, May 26, 2009 7:09:09 PM > Subject: Re: Multiple artifacts of the module > commons-logging#commons-logging;1.1.1 are retrieved to the same file! > > thanks for the reply. i replaced the jar with [type] and i get the same > error > > > On Tue, May 26, 2009 at 1:05 PM, Archie Cobbs <[email protected] > >wrote: > > > You probably need to include [type] in your pattern. Try something like > > pattern="lib/[conf]/[type]/[artifact].[revision].[ext]" instead. > > > > -Archie > > > > On Tue, May 26, 2009 at 12:02 PM, Nathaniel Auvil < > > [email protected] > > > wrote: > > > > > I am getting the following error: > > > > > > java.lang.RuntimeException: Multiple artifacts of the module > > > commons-logging#commons-logging;1.1.1 are retrieved to the same file! > > > Update > > > the retrieve pattern to fix this error. > > > > > > i googled and found some configs which i tried and had no success, such > > as: > > > > > > <ivy:retrieve pattern="lib/[conf]/jar/[artifact].[revision].[ext]" > > > sync="true"/> > > > > > > > > > any ideas? I am going to fall back to the 2.0.0 release to see if that > > > works. > > > > > > > > > > > -- > > Archie L. Cobbs > > > > > > >
