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 confmappingoverride does not override
Date Fri, 19 Sep 2008 05:36:06 GMT
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

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