Le 18 mai 2011 à 19:29, Scott Palmer a écrit :

> I have something like this:
> 
> <dependency org="xx.yyyzzz" name="a" rev="1.0.10"/>
> <dependency org="xxx.yyy-zzz" name="b" rev="1.0.10"/>
> 
> The problem is that module "b" has a dependency that looks like:
>       <dependency org="xxx.yyy-zzz" name="a" rev="1.0.4"/>
> 
> 
> It is and earlier version of the "a" that my code depends on, but module "a" 
> changed to a new org (group) for the later revision (the old one has a 
> hyphen, then new one doesn't).
> 
> I need to use a-1.0.10 but I'm only getting a-1.0.4.  If I add an exclude, 
> such as:
> 
> <dependency org="xx.yyyzzz" name="a" rev="1.0.10"/>
> <dependency org="xxx.yyy-zzz" name="b" rev="1.0.10">
>  <exclude org="xxx.yyy-zzz" name="a"/>
> </dependency>
> 
> Then I don't get ANY version of module "a"
> 
> I'm using ivy 2.2.0 on Windows with JDK 1.6.0_25
> 
> Is there a way to work around this?

namespaces is probably what you are looking for:
http://ant.apache.org/ivy/history/latest-milestone/settings/namespaces.html

Nicolas

Reply via email to