[libjide-oss-java] 08/13: Use Java 9 --add-exports option otherwise the javadoc is not created.

Markus Koschany apo at moszumanska.debian.org
Tue Oct 10 17:22:56 UTC 2017


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

apo pushed a commit to branch master
in repository libjide-oss-java.

commit 8bdd387cbe382b07cbf8ebf0b02bc0119f66d3f5
Author: Markus Koschany <apo at debian.org>
Date:   Tue Oct 10 15:17:34 2017 +0200

    Use Java 9 --add-exports option otherwise the javadoc is not created.
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index 7a328cd..d7319bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,15 @@ DPATH := $(abspath $(dir $(MAKEFILE_LIST)))
 DTYPE := +dfsg
 PKG := libjide-oss-java
 VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*([\d\.]+)}')
+export ANT_OPTS = --add-exports=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED \
+		--add-exports=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED \
+		--add-exports=java.desktop/sun.swing=ALL-UNNAMED \
+		--add-exports=java.desktop/sun.awt=ALL-UNNAMED \
+		--add-exports=java.desktop/sun.awt.image=ALL-UNNAMED \
+		--add-exports=java.desktop/sun.awt.shell=ALL-UNNAMED \
+		--add-exports=java.desktop/sun.awt.dnd=ALL-UNNAMED \
+		--add-exports=java.desktop/sun.awt.windows=ALL-UNNAMED \
+		--add-exports=java.base/sun.security.action=ALL-UNNAMED
 
 %:
 	dh $@ --with javahelper,jh_maven_repo_helper

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



More information about the pkg-java-commits mailing list