[sacjava] 01/03: Fixed the build failure with Java 9 (Closes: #874002)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 24 10:26:08 UTC 2017


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

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

commit bdb231036e76fe6cf48e228ec2e2fd0662e86a1f
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Nov 24 11:24:26 2017 +0100

    Fixed the build failure with Java 9 (Closes: #874002)
---
 debian/changelog | 7 +++++++
 debian/rules     | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2503d72..67972f3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sacjava (1.3+dfsg-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with Java 9 (Closes: #874002)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Fri, 24 Nov 2017 11:23:45 +0100
+
 sacjava (1.3+dfsg-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 24c4f09..c0cdb74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,12 @@ JAVA_HOME=/usr/lib/jvm/default-java
 	dh $@ --with maven-repo-helper
 
 override_dh_auto_build:
-	$(JAVA_HOME)/bin/javac -source 1.5 -target 1.5 `find org -name "*.java" | xargs`
+	$(JAVA_HOME)/bin/javac -source 1.7 -target 1.7 `find org -name "*.java" | xargs`
 	$(JAVA_HOME)/bin/jar cvf sac-1.3.jar `find org -name "*.class" | xargs`
 	bnd wrap --properties debian/sac.bnd --output sac-1.3.jar.tmp sac-1.3.jar
 	mv sac-1.3.jar.tmp sac-1.3.jar
 
-	$(JAVA_HOME)/bin/javadoc -locale en -encoding UTF-8 -notimestamp -source 1.5 -d doc `find org -name "*.java" | xargs`
+	$(JAVA_HOME)/bin/javadoc -locale en -encoding UTF-8 -notimestamp -source 1.7 -d doc `find org -name "*.java" | xargs`
 
 get-orig-source:
 	uscan --force-download --download-current-version --rename --repack --compression xz --verbose

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



More information about the pkg-java-commits mailing list