poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1776797 - in /poi/trunk: build.xml jenkins/create_jobs.groovy
Date Sat, 31 Dec 2016 16:53:20 GMT
Author: centic
Date: Sat Dec 31 16:53:20 2016
New Revision: 1776797

URL: http://svn.apache.org/viewvc?rev=1776797&view=rev
Log:
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

Modified:
    poi/trunk/build.xml
    poi/trunk/jenkins/create_jobs.groovy

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1776797&r1=1776796&r2=1776797&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Sat Dec 31 16:53:20 2016
@@ -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>

Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1776797&r1=1776796&r2=1776797&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Sat Dec 31 16:53:20 2016
@@ -29,6 +29,7 @@ def poijobs = [
     [ name: 'POI-DSL-1.9', jdk: '1.9', trigger: triggerSundays,
         properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true',
                      '-Djava9addmods=--add-modules=java.xml.bind',
+                     '-Djavadoc9addmods=--add-modules=java.xml.bind',
                      '-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true',
                      '-Djava9addopens1=--add-opens=java.base/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED',
                      '-Djava9addopens2=--add-opens=java.base/java.io=ALL-UNNAMED',



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message