[pkg-java] r15283 - in trunk/commons-io/debian: . patches

Jakub Adam xhaakon-guest at alioth.debian.org
Fri Oct 28 17:18:34 UTC 2011


Author: xhaakon-guest
Date: 2011-10-28 17:18:34 +0000 (Fri, 28 Oct 2011)
New Revision: 15283

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

Modified: trunk/commons-io/debian/changelog
===================================================================
--- trunk/commons-io/debian/changelog	2011-10-28 15:38:32 UTC (rev 15282)
+++ trunk/commons-io/debian/changelog	2011-10-28 17:18:34 UTC (rev 15283)
@@ -1,3 +1,9 @@
+commons-io (1.4-4) UNRELEASED; urgency=low
+
+  * Add OSGi metadata to jar manifest
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Sun, 16 Oct 2011 22:58:29 +0200
+
 commons-io (1.4-3) unstable; urgency=low
 
   * Team upload

Added: trunk/commons-io/debian/patches/add-osgi-metadata.patch
===================================================================
--- trunk/commons-io/debian/patches/add-osgi-metadata.patch	                        (rev 0)
+++ trunk/commons-io/debian/patches/add-osgi-metadata.patch	2011-10-28 17:18:34 UTC (rev 15283)
@@ -0,0 +1,26 @@
+From: Jakub Adam <jakub.adam at ktknet.cz>
+Date: Sun, 16 Oct 2011 22:55:56 +0200
+Subject: add-osgi-metadata
+
+---
+ build.xml |    6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/build.xml b/build.xml
+index 6be7244..0f2ebeb 100644
+--- a/build.xml
++++ b/build.xml
+@@ -340,6 +340,12 @@
+         <attribute name="Implementation-Vendor-Id" value="org.apache"/>
+         <attribute name="X-Compile-Source-JDK"     value="${maven.compile.source}"/>
+         <attribute name="X-Compile-Target-JDK"     value="${maven.compile.target}"/>
++        <attribute name="Bundle-ManifestVersion"   value="2"/>
++        <attribute name="Bundle-Name"              value="Apache Commons-IO"/>
++        <attribute name="Bundle-Vendor"            value="Apache Software Foundation"/>
++        <attribute name="Bundle-SymbolicName"      value="org.apache.commons.io"/>
++        <attribute name="Bundle-Version"           value="${component.version}"/>
++        <attribute name="Export-Package"           value="org.apache.commons.io,org.apache.commons.io.comparator,org.apache.commons.io.filefilter,org.apache.commons.io.input,org.apache.commons.io.output"/>
+     </manifest>
+ 
+     <jar jarfile="${build.home}/${final.name}.jar"
+-- 

Added: trunk/commons-io/debian/patches/series
===================================================================
--- trunk/commons-io/debian/patches/series	                        (rev 0)
+++ trunk/commons-io/debian/patches/series	2011-10-28 17:18:34 UTC (rev 15283)
@@ -0,0 +1 @@
+add-osgi-metadata.patch




More information about the pkg-java-commits mailing list