Announcement Announcement Module
Collapse
No announcement yet.
Package version Nunber Against Bundle version No Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Package version Nunber 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
    Package versions are independent of bundle versions and need to be set. We use bundlor with a template file containing, for example:
    Code:
    Export-Template: org.osgi.services.webcontainer.*;version="1.0",
     com.springsource.osgi.webcontainer.*;version="1.0"

    Comment

    Working...
    X