[axis] 24/60: Add OSGi metadata to jar manifests

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jan 12 17:30:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository axis.

commit 18da7d0a29f5868af4ba89763ae6c3bd298ef12d
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Thu Oct 27 19:52:50 2011 +0000

    Add OSGi metadata to jar manifests
---
 debian/changelog                       |  6 ++++
 debian/patches/add-osgi-metadata.patch | 52 ++++++++++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 3 files changed, 59 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b352914..53cdc25 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+axis (1.4-15) UNRELEASED; urgency=low
+
+  * Add OSGi metadata to jar manifests
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Thu, 27 Oct 2011 19:23:14 +0200
+
 axis (1.4-14) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/patches/add-osgi-metadata.patch b/debian/patches/add-osgi-metadata.patch
new file mode 100644
index 0000000..dc7d134
--- /dev/null
+++ b/debian/patches/add-osgi-metadata.patch
@@ -0,0 +1,52 @@
+From: Jakub Adam <jakub.adam at ktknet.cz>
+Date: Sun, 9 Oct 2011 02:17:06 +0200
+Subject: add-osgi-metadata
+
+---
+ build.xml |   18 ++++++++++++++++++
+ 1 files changed, 18 insertions(+), 0 deletions(-)
+
+diff --git a/build.xml b/build.xml
+index 738d245..a6e2a32 100644
+--- a/build.xml
++++ b/build.xml
+@@ -195,6 +195,12 @@ Copyright:
+       <include name="log4j.properties" unless="exclude.log4j.configuration"/>
+       <include name="simplelog.properties"/>
+       <manifest>
++        <attribute name="Bundle-ManifestVersion" value="2"/>
++      	<attribute name="Bundle-Name" value="Apache Axis"/>
++      	<attribute name="Bundle-Vendor" value="Apache Software Foundation"/>
++        <attribute name="Bundle-SymbolicName" value="org.apache.axis"/>
++        <attribute name="Bundle-Version" value="${axis.version}"/>
++        <attribute name="Export-Package" value="org.apache.axis,org.apache.axis.attachments,org.apache.axis.client,org.apache.axis.client.async,org.apache.axis.collections,org.apache.axis.components,org.apache.axis.components.compiler,org.apache.axis.components.encoding,org.apache.axis.image,org.apache.axis.components.jms,org.apache.axis.components.logger,org.apache.axis.components.net,org.apache.axis.components.script,org.apache.axis.components.threadpool,org.apache.axis.components.uui [...]
+         <section name="org/apache/axis">
+           <attribute name="Implementation-Title" value="Apache Axis"/>
+           <attribute name="Implementation-Version" value="${axis.version} ${TSTAMP} ${TODAY}"/> 
+@@ -206,6 +212,12 @@ Copyright:
+       <include name="javax/**"/>
+       <exclude name="javax/xml/soap/**"/>
+       <manifest>
++        <attribute name="Bundle-ManifestVersion" value="2"/>
++      	<attribute name="Bundle-Name" value="JAX-RPC"/>
++      	<attribute name="Bundle-Vendor" value="Apache Software Foundation"/>
++        <attribute name="Bundle-SymbolicName" value="javax.xml.rpc"/>
++        <attribute name="Bundle-Version" value="${axis.version}"/>
++        <attribute name="Export-Package" value="javax.xml.rpc,javax.xml.rpc.encoding,javax.xml.rpc.handler,javax.xml.rpc.handler.soap,javax.xml.rpc.holders,javax.xml.rpc.server,javax.xml.rpc.soap"/>
+         <section name="javax/xml/rpc">
+           <attribute name="Specification-Title" value="JAX-RPC"/>
+           <attribute name="Specification-Version" value="1.1"/>
+@@ -216,6 +228,12 @@ Copyright:
+     <jar jarfile="${build.lib}/${saaj}.jar" basedir="${build.dest}" >
+       <include name="javax/xml/soap/**"/>
+       <manifest>
++        <attribute name="Bundle-ManifestVersion" value="2"/>
++      	<attribute name="Bundle-Name" value="SAAJ"/>
++      	<attribute name="Bundle-Vendor" value="Apache Software Foundation"/>
++        <attribute name="Bundle-SymbolicName" value="javax.xml.soap"/>
++        <attribute name="Bundle-Version" value="${axis.version}"/>
++        <attribute name="Export-Package" value="javax.xml.soap"/>
+         <section name="javax/xml/soap">
+           <attribute name="Specification-Title" value="SAAJ"/>
+           <attribute name="Specification-Version" value="1.2"/>
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 325d67e..4da6ce9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02-gcj-4.4.patch
 axis-bz152255.patch
 javadoc.diff
+add-osgi-metadata.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/axis.git



More information about the pkg-java-commits mailing list