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 <[EMAIL PROTECTED]>: > 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
