felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5049) Resolver does not choose the revision with the lowest bundle ID
Date Tue, 06 Oct 2015 15:50:26 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945230#comment-14945230
] 

Richard S. Hall commented on FELIX-5049:
----------------------------------------

Funny, Tom Watson told me that Equinox used to do something like option (1) but he had removed
it.

I think option (1) creates its own issues, because now you are making it difficult for bundles
to provide newer versions of packages provided by the framework.

The only valid solution might be for bundles to require a service provider capability and
for that service provider to have a proper "uses" constraint on the package it uses.

Another option, but less nice, is to use a resolver hook to do what you want.

> Resolver does not choose the revision with the lowest bundle ID
> ---------------------------------------------------------------
>
>                 Key: FELIX-5049
>                 URL: https://issues.apache.org/jira/browse/FELIX-5049
>             Project: Felix
>          Issue Type: Bug
>          Components: Resolver
>    Affects Versions: framework-5.2.0
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>         Attachments: felix-5049.diff
>
>
> The Felix Resolver does not pick the exporting bundle with the lowest bundle ID when
multiple bundles export the same package. This causes [ARIES-1398|https://issues.apache.org/jira/browse/ARIES-1398].
For steps on how to reproduce see that issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message