[groovy] 01/05: Fail the build if AntBuilder isn't in groovy-all.jar (Closes: #839896)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Oct 9 12:42:41 UTC 2016


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

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

commit 4e7de8bbec68f9ecaa3c812a3b0cfbb5388ac98d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sun Oct 9 09:35:28 2016 +0200

    Fail the build if AntBuilder isn't in groovy-all.jar (Closes: #839896)
---
 debian/changelog | 7 +++++++
 debian/rules     | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 66f47e0..2c3dab3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+groovy (2.4.7-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fail the build if AntBuilder isn't in groovy-all.jar (Closes: #839896)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Sun, 09 Oct 2016 09:27:40 +0200
+
 groovy (2.4.7-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 4a08fbc..3d23956 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,9 @@ override_dh_auto_build:
 	unzip target/distributions/apache-groovy-binary-*.zip -d target/distributions/bin
 	unzip target/distributions/apache-groovy-docs-*.zip -d target/distributions/doc
 
+	# check if AntBuilder is in groovy-all.jar
+	jar -tf target/libs/groovy-all-$(VERSION).jar | grep AntBuilder
+
 override_dh_auto_install:
 	-rm -f target/libs/groovy-all-*-indy.jar
 	dh_auto_install
@@ -42,6 +45,9 @@ override_dh_auto_install:
 	      subprojects/groovy-$$MOD/target/libs/groovy-$$MOD-$(VERSION).jar; \
 	done
 
+	# check if AntBuilder is still in groovy-all.jar
+	jar -tf debian/groovy/usr/share/java/groovy-all-$(VERSION).jar | grep AntBuilder
+
 override_dh_installman:
 	dh_installman
 	mv debian/groovy/usr/share/man/man1/* debian/groovy/usr/share/groovy/man/man1/

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



More information about the pkg-java-commits mailing list