summaryrefslogtreecommitdiffstats
path: root/java/manifest.txt.in
diff options
context:
space:
mode:
authorAlan <[email protected]>2016-05-05 15:23:53 +0200
committerPetre Eftime <[email protected]>2016-05-05 18:01:52 +0300
commit4f79c8d481119f8fa3e63f77286faddbeadb2b3c (patch)
treeee62b4c07015c83f05e480c1172db3dc2e53715c /java/manifest.txt.in
parent4e82f20a5d1a7aff80e03bec5770bb27190498eb (diff)
Add OSGI manifest metadata
Added OSGI metadata to the manifest, so the library can be deployed in OSGI environments. The headers where first generated with the bnd tool, then manually copied inside the manifest template file with the appropriate variable substitutions. Also added a timestamp variable (BUILD_TSTAMP) in the main CmakeLists.txt for use in the manifest file (and elsewhere, if needed). Signed-off-by: Alan Alberghini <[email protected]> [closes #23]
Diffstat (limited to 'java/manifest.txt.in')
-rw-r--r--java/manifest.txt.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/java/manifest.txt.in b/java/manifest.txt.in
index 0e84c814..555e6377 100644
--- a/java/manifest.txt.in
+++ b/java/manifest.txt.in
@@ -1,10 +1,16 @@
-Manifest-version: 1.0
+Manifest-Version: 1.0
+Bundle-Date: @BUILD_TSTAMP@
+Bundle-ManifestVersion: 2
+Bundle-Name: tinyb
+Bundle-SymbolicName: tinyb
+Bundle-Version: @VERSION_SHORT@
+Export-Package: tinyb
+Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Name: tinyb/
-Specification-Title: TinyB
-Specification-Version: @VERSION_API@
-Specification-Vendor: Intel Corp.
Package-Title: tinyb
-Package-Version: @VERSION_SHORT@
Package-Vendor: Intel Corp.
-
+Package-Version: @VERSION_SHORT@
+Specification-Title: TinyB
+Specification-Vendor: Intel Corp.
+Specification-Version: @VERSION_API@