[jboss-xnio] 02/02: Revert "Revert "Compile with Java 8.""

Markus Koschany apo-guest at moszumanska.debian.org
Mon Dec 21 16:49:12 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 224d05d0a2bba7b9dca3baa806784d3107886d47
Author: Markus Koschany <apo at debian.org>
Date:   Mon Dec 21 17:41:36 2015 +0100

    Revert "Revert "Compile with Java 8.""
    
    This reverts commit 5d65541ee1d8add597b0d7352231b79f3a139af8.
---
 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