Export-Package version when creating Plug-in from existing JAR archives [message #331688] |
Tue, 16 September 2008 10:41  |
Eclipse User |
|
|
|
Hello,
When using Eclipse to develop OSGi bundles you quite often need to
"osgify" external libraries.
To do this you can use "File -> New -> Project -> Plug-in Development ->
Plug-in from existing JAR archives"
When plug-in is created, the "Export-Package" entries in the generated
MANIFEST do not hold any version attribute.
According to OSGi R4 specs it means exported packages do have version
"0.0.0" instead of having the same version as the Bundle-Version metatag.
Missing versioning from Export-Package and Import-Package metatags is a
common issue in OSGi development and specifying them is considered as a
"best practice".
Don't you think the "Plug-in from existing JAR archives" functionnality
should by default add version attribute to ""Export-Package" entries ?
The version value would be the same as the "Bundle-Version"
Frederic
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03370 seconds