Announcement Announcement Module
Collapse

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
Package version number against bundle version No Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Package version number against bundle version No

    When i have a bundle version number for example 10.0.0

    and I don't mention any version number in export package -

    Example :

    Manifest-Version: 1.0
    Bundle-Version: 10.0.0
    Bundle-Name: PackageExporter
    Bundle-ManifestVersion: 2
    Bundle-SymbolicName: PackageExporter
    Export-Package: com.test


    I see through package admin that they are exported at version 0.0.0 and not 10.0.0

    So i assume that there is no relationship between version of bundle and version of exported package.

    Also when I have many packages to be exported , is there a simple way to export it using bundles versions

    OR

    Should I append version in every exported package

  • #2
    Yes, there is no relationship between the bundle and the package version. It's fairly often that a bundle version increases while the bundle package doesn't (for example the new bundle provides only extra resources or extra packages).
    See the OSGi spec for a detailed discussion on these topics.

    Comment

    Working...
    X