1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
From: Markus Koschany <apo@debian.org>
Date: Tue, 10 Oct 2017 18:46:08 +0200
Subject: java9 add-exports
Required for Java9. Pass --add-exports directly to the javadoc command.
Environment variables like ANT_OPTIONS or _JAVA_OPTIONS will pick up the
additional options but won't pass them to javadoc. Without this patch the
documentation will not be built.
---
build.xml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index 2ca9544..c8bc1ab 100644
--- a/build.xml
+++ b/build.xml
@@ -63,7 +63,16 @@
<mkdir dir="${javadoc_dir}"/>
<javadoc maxmemory="${maxheapsize}" sourcepath="${javadoc_source_list}"
packagenames="com.jidesoft.*" destdir="${javadoc_dir}"
- header="JIDE Common Layer ${jide_version}">
+ header="JIDE Common Layer ${jide_version}"
+ additionalparam="--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">
<link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
<link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
</javadoc>
|