[remotetea] 03/06: import patch for java7

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Sat Nov 22 11:46:16 GMT 2014


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

picca pushed a commit to branch master
in repository remotetea.

commit 933efa9c685b3e6784d113b3eb55e8d6101f26d8
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Tue May 14 19:19:46 2013 +0200

    import patch for java7
---
 debian/ant.properties | 4 ++++
 debian/changelog      | 9 +++++++++
 debian/rules          | 2 +-
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..c1d99c1
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,4 @@
+# Ensure that source and target are 1.5
+# For backwards compat on Java 7
+ant.build.javac.source=1.5
+ant.build.javac.target=1.5
diff --git a/debian/changelog b/debian/changelog
index 3266762..4ea4552 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+remotetea (1.0.7-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Compile with source and target 1.5 version to ensure
+    byte code compatability with older JVMs and to fix
+    FTBFS with Java7.
+
+ -- Niels Thykier <niels at thykier.net>  Thu, 21 Jun 2012 12:15:36 +0200
+
 remotetea (1.0.7-2) unstable; urgency=low
 
   * Bump Standards-Version to 3.9.1
diff --git a/debian/rules b/debian/rules
index b1194e6..b2f44f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export JAVA_HOME = /usr/lib/jvm/default-java
 	dh --with javahelper $@
 
 override_dh_auto_build:
-	ant jar javadoc
+	ant -propertyfile debian/ant.properties jar javadoc
 
 get-orig-source:
 	rm -rf get-orig-source $(TARBALL) remotetea.zip

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



More information about the pkg-java-commits mailing list