Author: xhaakon-guest
Date: 2011-10-27 19:52:50 +0000 (Thu, 27 Oct 2011)
New Revision: 15274

Added:
   trunk/axis/debian/patches/add-osgi-metadata.patch
Modified:
   trunk/axis/debian/changelog
   trunk/axis/debian/patches/series
Log:
Add OSGi metadata to jar manifests

Modified: trunk/axis/debian/changelog
===================================================================
--- trunk/axis/debian/changelog 2011-10-27 13:38:49 UTC (rev 15273)
+++ trunk/axis/debian/changelog 2011-10-27 19:52:50 UTC (rev 15274)
@@ -1,3 +1,9 @@
+axis (1.4-15) UNRELEASED; urgency=low
+
+  * Add OSGi metadata to jar manifests
+
+ -- Jakub Adam <jakub.a...@ktknet.cz>  Thu, 27 Oct 2011 19:23:14 +0200
+
 axis (1.4-14) unstable; urgency=low
 
   * Team upload.

Added: trunk/axis/debian/patches/add-osgi-metadata.patch
===================================================================
--- trunk/axis/debian/patches/add-osgi-metadata.patch                           
(rev 0)
+++ trunk/axis/debian/patches/add-osgi-metadata.patch   2011-10-27 19:52:50 UTC 
(rev 15274)
@@ -0,0 +1,52 @@
+From: Jakub Adam <jakub.a...@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.uuid,org.apache.axis.configuration,org.apache.axis.constants,org.apache.axis.deployment.wsdd,org.apache.axis.deployment.wsdd.providers,org.apache.axis.description,org.apache.axis.encoding,org.apache.axis.encoding.ser,org.apache.axis.encoding.ser.castor,org.apache.axis.enum,org.apache.axis.handlers,org.apache.axis.handlers.http,org.apache.axis.handlers.soap,org.apache.axis.holders,org.apache.axis.i18n,org.apache.axis.management,org.apache.axis.management.jmx,org.apache.axis.message,org.apache.axis.monitor,org.apache.axis.providers,org.apache.axis.providers.java,org.apache.axis.schema,org.apache.axis.security,org.apache.axis.security.servlet,org.apache.axis.security.simple,org.apache.axis.server,org.apache.axis.session,org.apache.axis.soap,org.apache.axis.strategies,org.apache.axis.transport.http,org.apache.axis.transport.java,org.apache.axis.transport.jms,org.apache.axis.transport.local,org.apache.axis.transport.mail,org.apache.axis.types,org.apache.axis.utils,org.apache.axis.utils.bytecode,org.apache.axis.utils.cache,org.apache.axis.wsdl,org.apache.axis.wsdl.fromJava,org.apache.axis.wsdl.gen,org.apache.axis.wsdl.symbolTable,org.apache.axis.wsdl.toJava"/>
+         <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"/>
+-- 

Modified: trunk/axis/debian/patches/series
===================================================================
--- trunk/axis/debian/patches/series    2011-10-27 13:38:49 UTC (rev 15273)
+++ trunk/axis/debian/patches/series    2011-10-27 19:52:50 UTC (rev 15274)
@@ -2,3 +2,4 @@
 02-gcj-4.4.patch
 axis-bz152255.patch
 javadoc.diff
+add-osgi-metadata.patch


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to