- attached gnu.trove.bnd
Trove lib should be packaged as OSGi bundle
Pulled from forum thread: https://sourceforge.net/projects/trove4j/forums/forum/121845/topic/3912557
The Trove library should be OSGi compliant and released with a MANIFEST.MF file within the jar.
Example of file content:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GNU Trove
Bundle-SymbolicName: gnu.trove
Bundle-Version: 3.0.0.a5
Bundle-ClassPath: trove-3.0.0a5.jar
Bundle-Vendor: Eric D. Friedman
Export-Package: gnu.trove;version="3.0.0",
gnu.trove.decorator;version="3.0.0"
To a more complete bundle description, you can visit: http://www.osgi.org/Specifications/ReferenceHeaders
Comments (12)
-
reporter -
reporter - changed milestone to Next Minor Release
-
assigned issue to
-
You can also use the maven-bundle-plugin from apache and not have a separate bnd file.
-
reporter @mattbishop : Would you review pull request #1 ? I believe it's doing what you're asking. If it's sufficient, we can pull it in.
-
reporter This needs to be tested since pull request #1 has now been merged.
-
I compiled and tested the HEAD version of Trove in an OSGi environment (Eclipse RCP application). It is recognised as an OSGi bundle and I can use Trove classes without problem (I tested TMap/THashMap and TIntList/TIntArrayList).
-
reporter I'm moving the build system to Gradle (see issue
#40) and it makes OSGI building really easy. So, the implementation has changed. Follow that issue for details. -
reporter - changed milestone to 3.0.5.b1
-
reporter - changed milestone to 3.0.5.m1
-
reporter - changed milestone to 3.1
-
Any updates on this?
-
reporter - removed responsible
- Log in to comment
Necessary file to add OSGI information using an Ant task or BND tool (from Christopher Brown)