[libjgroups-java] 14/38: Fix java bytecode / java runtime version mismatch by setting -source and -target to 1.5 (Closes: #503786)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Nov 23 12:36:55 UTC 2017


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

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

commit 1e7e47557b95cfe5a622e58aff329249bda1c559
Author: Varun Hiremath <varun at debian.org>
Date:   Sat Nov 1 16:08:25 2008 +0000

    Fix java bytecode / java runtime version mismatch by setting -source
    and -target to 1.5 (Closes: #503786)
---
 debian/changelog | 7 +++++++
 debian/rules     | 1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1aeb0fa..8f13fe2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libjgroups-java (2.6.3.GA+dfsg1-2) unstable; urgency=low
+
+  * Fix java bytecode / java runtime version mismatch by setting -source
+    and -target to 1.5 (Closes: #503786)
+
+ -- Varun Hiremath <varun at debian.org>  Sat, 01 Nov 2008 11:06:58 -0400
+
 libjgroups-java (2.6.3.GA+dfsg1-1) unstable; urgency=low
 
   * Switch to openjdk-6-jdk for building the package.
diff --git a/debian/rules b/debian/rules
index 389638a..1d89375 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ ANT_OPTS             := -Xmx128M
 DEB_ANT_BUILD_TARGET := jar
 DEB_ANT_CHECK_TARGET := -Djgroups.bind_addr=`hostname` all-tests
 DEB_JARS             := xalan2 serializer junit log4j-1.2 bsh commons-logging bcprov glassfish-javaee ant-junit
+ANT_OPTS	     := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
 
 install/libjgroups-java::
 	install -m 644 -D dist/jgroups-all.jar $(DEB_DESTDIR)/usr/share/java/jgroups-all-$(DEB_UPSTREAM_VERSION).jar

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



More information about the pkg-java-commits mailing list