Search code examples
eclipse-pluginrcpe4

What is the meaning of Manifest-Version, Bundle-ManifestVersion, Bundle-Version?


What impact will be happen if I change the Bundle-Version which present in Manifest.MF file?

Also I could not understand why we used Bundle-Version, Manifest-Version, Bundle-ManifestVersion into Manifest.MF file?


Solution

  • Manifest-Version is the version of the Java manifest specification that this manifest uses - normally always 1.0. You won't normally change this.

    Bundle-ManifestVersion is the version of the OSGi manifest specification that this manifest uses. Again you won't normally change this.

    Bundle-Version is the version of the plugin in the form 'major.minor.micro.qualifier'. 'qualifier' is usually some sort of build id. You will normally increment one of 'major', 'minor' or 'micro' each time you change the plugin.

    OSGi uses the term 'Bundle' for what Eclipse calls a 'plug-in'.