felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hehe ji (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2205) Felix resolver unable to pick up the highest bundle version when exported packages are not versioned
Date Mon, 15 Mar 2010 23:12:27 GMT

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

hehe ji commented on FELIX-2205:
--------------------------------

The resolver is able to pick up the bundle4 if the exported package is versioned same as the
bundle version. e.g.
bundle4.jar
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Bundle Plug-in
Bundle-SymbolicName: a.b.c.d
Bundle-Version: 4.0.0
Bundle-Vendor: ABC
Export-Package: a.b.c.d;version=4.0

> Felix resolver unable to pick up the highest bundle version when exported packages are
not versioned
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2205
>                 URL: https://issues.apache.org/jira/browse/FELIX-2205
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.4.3
>            Reporter: hehe ji
>
> I have three bundles that have the same symbolic names with different bundle version
and export the same package. The package is not versioned. The resolver is unable to pick
up the highest version of bundles, which is the bundle4. It randomly picks one bundle.
> bundle1.jar
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Bundle Plug-in
> Bundle-SymbolicName: a.b.c
> Bundle-Version: 1.0.0
> Bundle-Vendor: ABC
> Require-Bundle: a.b.c.d
> Export-Package: a.b.c
> bundle2.jar
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Bundle Plug-in
> Bundle-SymbolicName: a.b.c.d
> Bundle-Version: 1.0.0
> Bundle-Vendor: ABC
> Export-Package: a.b.c.d
> bundle3.jar
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Bundle Plug-in
> Bundle-SymbolicName: a.b.c.d
> Bundle-Version: 3.0.0
> Bundle-Vendor: ABC
> Export-Package: a.b.c.d
> bundle4.jar
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: Bundle Plug-in
> Bundle-SymbolicName: a.b.c.d
> Bundle-Version: 4.0.0
> Bundle-Vendor: ABC
> Export-Package: a.b.c.d

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message