It's hard to tell what's going on without knowing the ivy.xml files of your binding and easymock module. Could you post them here? Could you also post the part of your build.xml where you do the resolve?
Maarten ----- Original Message ---- From: Martin Ficker <[EMAIL PROTECTED]> To: [email protected] Sent: Sunday, September 21, 2008 5:04:11 PM Subject: Re: confmappingoverride does not override 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 <[EMAIL PROTECTED]> > 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 >
