diff options
author | Jake Farrell <jfarrell@apache.org> | 2011-11-08 01:39:47 +0000 |
---|---|---|
committer | Jake Farrell <jfarrell@apache.org> | 2011-11-08 01:39:47 +0000 |
commit | 34e1db48db9eea73cc346e08ce32855353df8430 (patch) | |
tree | 73cc02d7dfdb689bae555a619289d47f59070c04 | |
parent | d889d8ddfa08f9177eb26bbfab5ea1938462e296 (diff) | |
download | thrift-34e1db48db9eea73cc346e08ce32855353df8430.tar.gz |
Thrift-184: Add OSGi Manifest headers to the libthrift java library to be able to use Thrift in the OSGi runtime
Client: java
Patch: Jake Farrell
Updated manifest to add OSGI support.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1199047 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | lib/java/build.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/java/build.xml b/lib/java/build.xml index 800258482..c0c2374eb 100644 --- a/lib/java/build.xml +++ b/lib/java/build.xml @@ -116,6 +116,14 @@ <jar jarfile="${jar.file}"> <manifest> <attribute name="Implementation-Version" value="${version}"/> + <attribute name="Bundle-ManifestVersion" value="2"/> + <attribute name="Bundle-SymbolicName" value="${thrift.groupid}"/> + <attribute name="Bundle-Name" value="Apache Thrift"/> + <attribute name="Bundle-Version" value="${version}"/> + <attribute name="Bundle-Description" value="Apache Thrift library"/> + <attribute name="Bundle-License" value="${license}"/> + <attribute name="Bundle-ActivationPolicy" value="lazy"/> + <attribute name="Export-Package" value="${thrift.groupid};version=${version}"/> </manifest> <fileset dir="${build.dir}"> <include name="org/apache/thrift/**/*.class"/> |