ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Palmer <swpal...@gmail.com>
Subject Dependency problem with changed "org"
Date Wed, 18 May 2011 17:29:53 GMT
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?

Regards,

Scott

Mime
View raw message