ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Multiple artifacts of the module commons-logging#commons-logging;1.1.1 are retrieved to the same file!
Date Wed, 27 May 2009 14:11:14 GMT

Could you please post your ivysettings.xml and your ivy.xml as well?

Maarten




----- Original Message ----
From: Nathaniel Auvil <nathaniel.auvil@gmail.com>
To: ivy-user@ant.apache.org
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 <maarten_coene@yahoo.com>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 <nathaniel.auvil@gmail.com>
> To: ivy-user@ant.apache.org
> 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 <archie.cobbs@gmail.com
> >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 <
> > nathaniel.auvil@gmail.com
> > > 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
> >
>
>
>
>
>



      

Mime
View raw message