ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Dependencies and Global Excludes
Date Fri, 25 Apr 2008 05:51:30 GMT
On Fri, Apr 25, 2008 at 2:53 AM, Michael Laccetti <michael@s2g.ca> wrote:

> Xavier Hanin wrote:
>
>> I think you can see it in verbose or debug mode, but it's not obvious.
>> logging the depender(s) when a dependency is not found would be a nice
>> improvement. You can open an issue if you like.
>>
>
> https://issues.apache.org/jira/browse/IVY-808  :)
>
>  I'll answer with a trunk feature (which has changed since beta 2). The
>> easiest is to override the version required, instead of excluding /
>> adding.
>> This can be achieved like this:
>>
>> <ivy-module version="2.0">
>>        [...]
>>        <dependencies>
>>                [put your dependencies here]
>>                              <override org="org.spring"
>> module="spring-ldap" rev="1.2.1" />
>>        </dependencies>
>> </ivy-module>
>>
>> But I just notice that you ask to override the organization too, which is
>> not possible currently. So you can either ensure more consistent names
>> with
>> a namespace (both versions of spring-ldap should have the same org), or
>> use
>> global exclude:
>>
>> <ivy-module version="2.0">
>>        [...]
>>        <dependencies>
>>                [put your dependencies here]
>>                              <exclude org="org.spring"
>> module="spring-ldap" rev="1.1.2" />
>>        </dependencies>
>> </ivy-module>
>>
>> HTH,
>>
>> Xavier
>>
>
> (Spring must have changed the package structure; if I could fix that, I
> would.)
>
> That does seem like a good feature, just wondering if you'll push a beta 3
> release, or do some sort of snapshot?  This goes +10 for IvyDE; pointing
> co-workers to random builds hosted on places that I read about via e-mail
> doesn't really help me convince them that it is stable for production use.
>  :)


I understand. Our next target release was supposed to be 2.0 RC1, but we're
still struggling with some bug fixes. Maybe we should consider releasing a
beta 3 if it takes too long to get RC1 out.

Xavier


>
>
> Mike
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

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