[eclipse-wtp] 07/08: Fixed the build failure with Java 8

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 4 23:54:13 UTC 2016


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

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

commit 49f980ffc52cc30886dcf34db910752838538a77
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sat Nov 5 00:37:45 2016 +0100

    Fixed the build failure with Java 8
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2b7c785..14e99ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ eclipse-wtp (3.6.3-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * Fixed the compatibility with the latest version of JFlex
+  * Fixed the build failure with Java 8
   * Transition to Jetty 9
   * Depend on libmail-java instead of libgnumail-java
   * Standards-Version updated to 3.9.8
diff --git a/debian/rules b/debian/rules
index 0959477..dfb6e53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,8 +65,8 @@ override_jh_compilefeatures:
 	# Now we have to build resource files, but first we must have compiled JSDT core plugin
 	# jar so that we can execute UpdateParserFiles
 
-	jh_compilefeatures --build-opts="-DjavacTarget=1.5 -DjavacSource=1.5           \
-	                   -DbuildId=$(BUILD_ID) -DforceContextQualifier=$(BUILD_ID)";
+	jh_compilefeatures --build-opts="-DjavacTarget=1.5 -DjavacSource=1.5 -DbundleJavacTarget=1.5 \
+	                   -DbuildId=$(BUILD_ID) -DforceContextQualifier=$(BUILD_ID) -Dbuild.compiler=modern";
 
 OSGI_JAR=$(shell ls /usr/lib/eclipse/plugins/org.eclipse.osgi_*.jar)
 EQUINOX_COMMON_JAR=$(shell ls /usr/lib/eclipse/plugins/org.eclipse.equinox.common_*.jar)

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



More information about the pkg-java-commits mailing list