ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ficker" <m.fic...@googlemail.com>
Subject Re: confmappingoverride does not override
Date Sun, 21 Sep 2008 15:04:11 GMT
Thanks for the reply.
src-># without  confmapping results in only binding.jar and easmyock.jar
withing the "src" dir.
The ivy:report tells me they are required in configuration default
repsectivly unittest.

Looks like "#" doenst work correct when used in defaultconfigmapping?

Martin


2008/9/20 Gilles Scokart <gscokart@gmail.com>

> I never tried it myself, but you can maybe try to use a defaultmapping
> "src->#"
> With this, I'm not even sure you will need confmappingoverride.
>
> Keep us informed of the result.
>
>
>
> 2008/9/19 Martin Ficker <m.ficker@googlemail.com>:
> > Hello Everybody,
> >
> > I would like to have a "src" configuration that retrieves all
> dependencies
> > in their src configuration, but I can't find
> > a solution. I'm usin ivy 1.4.
> > Here is what I tried so far:
> >
> > from ivy.xml:
> > <configurations
> >    confmappingoverride="true"
> >    defaultconfmapping="unittest->default;src->src">
> >    <conf name="default" visibility="public"/>
> >    <conf name="unittest"  visibility="private"/>
> >    <conf name="src" visibility="private" extends="*"/>
> > </configurations>
> >
> > <dependencies>
> >    <dependency org="jgoodies" name="binding" conf="default" rev="2.0+"/>
> >    <dependency org="easymock" name="easymock" conf="unittest" rev="2.3"/>
> > </dependencies>
> >
> >
> > After a resolve my lib dir looks like
> >
> > default
> >    binding.jar
> > unittest
> >    easymock.jar
> > src
> >     binding-src.jar
> >     binding.jar <----------------I don't want this
> >     easymock-src.jar
> >     easymock.jar <------------ I don't want this
> >
> >
> > It seems despite it's name and documentation  setting
> > conmappingoverride="true" the "src" mappingdoes not
> > override but add to the dependency mapping.
> >
> > Any suggestions are welcome.
> >
> > Best regards
> > Martin
> >
>
>
>
> --
> Gilles Scokart
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message