[pkg-java] r17279 - trunk/antlr3/debian
Jakub Adam
xhaakon-guest at alioth.debian.org
Sat Sep 28 12:30:45 UTC 2013
Author: xhaakon-guest
Date: 2013-09-28 12:30:44 +0000 (Sat, 28 Sep 2013)
New Revision: 17279
Added:
trunk/antlr3/debian/antlr3-runtime.bnd
trunk/antlr3/debian/antlr3.bnd
Modified:
trunk/antlr3/debian/changelog
trunk/antlr3/debian/control
trunk/antlr3/debian/rules
Log:
Add OSGi metadata to antlr3.jar and antlr3-runtime.jar
Added: trunk/antlr3/debian/antlr3-runtime.bnd
===================================================================
--- trunk/antlr3/debian/antlr3-runtime.bnd (rev 0)
+++ trunk/antlr3/debian/antlr3-runtime.bnd 2013-09-28 12:30:44 UTC (rev 17279)
@@ -0,0 +1,5 @@
+Bundle-Name: ANother Tool for Language Recognition runtime
+Bundle-SymbolicName: org.antlr.runtime
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
Added: trunk/antlr3/debian/antlr3.bnd
===================================================================
--- trunk/antlr3/debian/antlr3.bnd (rev 0)
+++ trunk/antlr3/debian/antlr3.bnd 2013-09-28 12:30:44 UTC (rev 17279)
@@ -0,0 +1,5 @@
+Bundle-Name: ANother Tool for Language Recognition
+Bundle-SymbolicName: org.antlr
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: *
Modified: trunk/antlr3/debian/changelog
===================================================================
--- trunk/antlr3/debian/changelog 2013-09-24 14:47:12 UTC (rev 17278)
+++ trunk/antlr3/debian/changelog 2013-09-28 12:30:44 UTC (rev 17279)
@@ -1,3 +1,9 @@
+antlr3 (3.2-9) unstable; urgency=low
+
+ * Add OSGi metadata to antlr3.jar and antlr3-runtime.jar.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz> Sat, 28 Sep 2013 08:46:22 +0200
+
antlr3 (3.2-8) unstable; urgency=low
* Updated Standards-Version to 3.9.4 (no changes)
Modified: trunk/antlr3/debian/control
===================================================================
--- trunk/antlr3/debian/control 2013-09-24 14:47:12 UTC (rev 17278)
+++ trunk/antlr3/debian/control 2013-09-28 12:30:44 UTC (rev 17279)
@@ -7,7 +7,7 @@
maven-debian-helper (>= 1.1), libstringtemplate-java (>= 3.2.1),
libantlr-maven-plugin-java (>= 2.1), libmaven-plugin-testing-java,
libmaven-javadoc-plugin-java, libmaven-install-plugin-java,
- default-jdk-doc, libmaven-plugin-tools-java
+ default-jdk-doc, libmaven-plugin-tools-java, bnd
Standards-Version: 3.9.4
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/antlr3
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/antlr3
Modified: trunk/antlr3/debian/rules
===================================================================
--- trunk/antlr3/debian/rules 2013-09-24 14:47:12 UTC (rev 17278)
+++ trunk/antlr3/debian/rules 2013-09-28 12:30:44 UTC (rev 17279)
@@ -26,6 +26,13 @@
cd antlr3-maven-plugin && $(DEB_MAVEN_INVOKE) $(PLUGIN_ARGS) $(DEB_MAVEN_BUILD_TARGET) $(DEB_MAVEN_INSTALL_TARGET)
mh_unpatchpoms -pantlr3
+common-post-build-indep::
+ # Generate OSGi metadata
+ bnd wrap -properties debian/antlr3.bnd -output tool/target/antlr-[0-9].[0-9].jar \
+ tool/target/antlr-[0-9].[0-9].jar
+ bnd wrap -properties debian/antlr3-runtime.bnd -output runtime/Java/target/antlr-runtime-[0-9].[0-9].jar \
+ runtime/Java/target/antlr-runtime-[0-9].[0-9].jar
+
binary-post-install/antlr3::
mh_linkrepojar -pantlr3 runtime/Java/pom.xml /usr/share/java/antlr3-runtime.jar
mh_linkrepojar -pantlr3 tool/pom.xml /usr/share/java/antlr3.jar
More information about the pkg-java-commits
mailing list