Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Goolge Guice ( Bundle in Orbit exports wrong packages versions

Am 15.06.2010 10:03, schrieb Sebastian Zarnekow:
> I've had a look at the original manifest that ships with Guice 2.0 and  
> it is kind of inconsistent from an Eclipse-orbit point of view.
> First of all, the bundle's name is simply "guice" and the bundle- 
> version is "2.0" while the packages are exported as version "1.2".  

I already responded in the bug but for completeness I cross-post here.
The issue that you find confusing is how OSGi works. There is no rule
that a bundle version and a package version must be the same. In fact,
we ship Eclipse 3.6 but only a few bundles use the 3.6 version.

Please have a look at:

Of course, there are also countless blogs discussing the issue.

In Orbit we have to respect what other projects define. We cannot use a
different version just because we like it better.

As I mentioned already, it's too late for Helios. If you use
Require-Bundle instead of Import-Package then you should be fine once
the fix will be released.


Gunnar Wagenknecht

Back to the top