添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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?

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'.

  • Bundle-Version - The version of the OSGi bundle (in Eclipse bundles are also called plug-ins): bundles can define dependencies to other bundles in a version range
  • Manifest-Version - The version of the JAR Manifest format (up to now 1.0 )
  • Bundle-ManifestVersion - The version of the OSGi Manifest format which extends the JAR Manifest format ( 2 since release 4)
  • Thanks for contributing an answer to Stack Overflow!

    • Please be sure to answer the question . Provide details and share your research!

    But avoid

    • Asking for help, clarification, or responding to other answers.
    • Making statements based on opinion; back them up with references or personal experience.

    To learn more, see our tips on writing great answers .