[stylebook] 24/34: Specify source/target = 1.5 for all javac commands
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Mar 29 10:54:18 BST 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository stylebook.
commit 11d6793dcb49bdab3cad31c95fd1742ed2e78464
Author: Niels Thykier <nthykier at debian.org>
Date: Mon Jun 18 14:05:20 2012 +0000
Specify source/target = 1.5 for all javac commands
---
debian/changelog | 10 ++++++++++
debian/rules | 3 ++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 8320b6e..97ac9e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+stylebook (1.0~b3~svn20061109-6) UNRELEASED; urgency=low
+
+ * Team upload.
+ * d/rules: Specify source/target = 1.5 for all javac commands to
+ ensure backwards compatibility and workaround Java 7 encoding
+ errors. Thanks to James Page for the report and the patch.
+ (Closes: #651182, LP: #888127)
+
+ -- Niels Thykier <niels at thykier.net> Mon, 18 Jun 2012 16:00:13 +0200
+
stylebook (1.0~b3~svn20061109-5) unstable; urgency=low
* Fix wrong jar installation names.
diff --git a/debian/rules b/debian/rules
index 1215843..3958ae4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,8 @@ DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
done; \
if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
-DEB_ANT_ARGS := -Dbin.dir=build
+DEB_ANT_ARGS := -Dbin.dir=build -Dant.build.javac.source=1.5 \
+ -Dant.build.javac.target=1.5
ANT_INVOKE := $(JAVACMD) -classpath $(DEB_CLASSPATH) \
org.apache.tools.ant.Main $(DEB_ANT_ARGS)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/stylebook.git
More information about the pkg-java-commits
mailing list