aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-12-31 16:53:20 +0000
committerDominik Stadler <centic@apache.org>2016-12-31 16:53:20 +0000
commit7a9f81a94822672af168cde6da3065029e34a92b (patch)
tree809c9fa6b1af13b9d439011146b92fd771fd70fd /build.xml
parent85300a6f83804e58f11434e41df08066602e698f (diff)
downloadpoi-7a9f81a94822672af168cde6da3065029e34a92b.tar.gz
poi-7a9f81a94822672af168cde6da3065029e34a92b.zip
Allow to pass --add-modules to javadoc as well as we get lots of missing code reported otherwise, we cannot use the existing property java9addmods as we need to use a different default-value for non-JDK9 builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776797 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 3db1de7b30..802f89c948 100644
--- a/build.xml
+++ b/build.xml
@@ -308,6 +308,7 @@ under the License.
<!-- this can be overwriten to empty when running with Java 9 -->
<property name="maxpermsize" value="-XX:MaxPermSize=256m"/>
<property name="java9addmods" value="-Dthis.is.a.dummy=true"/>
+ <property name="javadoc9addmods" value="-J-Dthis.is.a.dummy=true"/>
<property name="java9addmodsvalue" value="-Dthis.is.a.dummy=true"/>
<property name="java9addopens1" value="-Dthis.is.a.dummy=true"/>
<property name="java9addopens2" value="-Dthis.is.a.dummy=true"/>
@@ -1749,6 +1750,8 @@ under the License.
<packageset dir="${ooxml.src}" defaultexcludes="yes">
<include name="org/apache/poi/**"/>
</packageset>
+
+ <arg value="${javadoc9addmods}"/>
<doctitle><![CDATA[<h1>POI API Documentation</h1>]]></doctitle>
<bottom>