[guice] 06/12: Build the multibindings extension

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Oct 9 15:15:40 BST 2014


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

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

commit c75d9e6cf25aaabcfa139f787e10447cb373b932
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Oct 9 14:53:12 2014 +0200

    Build the multibindings extension
---
 debian/changelog          | 2 +-
 debian/libguice-java.poms | 1 +
 debian/rules              | 7 +++++++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2bffe06..14d5aa6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 guice (3.0-6) UNRELEASED; urgency=medium
 
-  * Build and install the servlet extension
+  * Build and install the servlet and multibindings extensions
   * Fixed a build failure caused by the cglib/asm transition
   * Use links to the system jars instead of patching the build script
   * Standards-Version updated to 3.9.6 (no changes)
diff --git a/debian/libguice-java.poms b/debian/libguice-java.poms
index ecf5b56..2831c20 100644
--- a/debian/libguice-java.poms
+++ b/debian/libguice-java.poms
@@ -2,3 +2,4 @@ core/pom.xml --no-parent
 extensions/pom.xml
 extensions/assistedinject/pom.xml
 extensions/servlet/pom.xml
+extensions/multibindings/pom.xml
diff --git a/debian/rules b/debian/rules
index 21b04ef..7163bb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,7 @@ override_dh_auto_build:
 	# build assistedinject extension
 	cd extensions/assistedinject && ant -Dversion=$(VERSION) jar
 	cd extensions/servlet && ant -Dversion=$(VERSION) jar
+	cd extensions/multibindings && ant -Dversion=$(VERSION) jar
 
 override_dh_auto_install:
 	dh_auto_install
@@ -42,6 +43,11 @@ override_dh_auto_install:
 		extensions/servlet/pom.xml \
 		extensions/servlet/build/guice-servlet-$(VERSION).jar
 
+	# install servlet extension
+	mh_installjar -plibguice-java --set-version=$(VERSION) -l -v \
+		extensions/multibindings/pom.xml \
+		extensions/multibindings/build/guice-multibindings-$(VERSION).jar
+
 override_dh_auto_clean:
 	dh_auto_clean
 	# remove the symbolic links
@@ -49,6 +55,7 @@ override_dh_auto_clean:
 	# clean extensions build files
 	cd extensions/assistedinject && ant clean
 	cd extensions/servlet && ant clean
+	cd extensions/multibindings && ant clean
 	mh_clean
 
 override_dh_compress:

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



More information about the pkg-java-commits mailing list