[jboss-xnio] 03/04: Compile with Java 8.

Markus Koschany apo-guest at moszumanska.debian.org
Mon Dec 21 16:38:45 UTC 2015


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

apo-guest pushed a commit to branch master
in repository jboss-xnio.

commit bc5be7cd6e46dec67242e03997d3c115f4a2ce51
Author: Markus Koschany <apo at debian.org>
Date:   Mon Dec 21 17:20:57 2015 +0100

    Compile with Java 8.
---
 debian/control | 4 ++--
 debian/rules   | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 12bbc4f..66ef8be 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,8 @@ Uploaders:
  Markus Koschany <apo at gambaru.de>
 Build-Depends:
  debhelper (>= 9),
- default-jdk,
- default-jdk-doc,
+ openjdk-8-jdk,
+ openjdk-8-doc,
  junit4,
  libjboss-logging-java,
  libjboss-logging-tools-java,
diff --git a/debian/rules b/debian/rules
index fc6afff..bb3395f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
-export JAVA_HOME=/usr/lib/jvm/default-java
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-$(DEB_HOST_ARCH)
+#export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
 	dh $@ --parallel --buildsystem=maven

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



More information about the pkg-java-commits mailing list