]> source.dussan.org Git - poi.git/commitdiff
Fix two more invalid paths for the Java 9+ compilation
authorDominik Stadler <centic@apache.org>
Thu, 13 May 2021 12:11:43 +0000 (12:11 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 13 May 2021 12:11:43 +0000 (12:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889842 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 62e72b7f1a1eeb4d452d6d0db384fceef8d38fe4..afe0ef2663eefa7460cb52088037be271248f6bd 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -979,7 +979,7 @@ under the License.
                fork="true"
                modulepath="lib/ooxml"
                unless:true="${isJava8}">
-            <compilerarg line="--patch-module org.apache.poi.ooxml.schemas=${ooxml-schema.output.dir}"/>
+            <compilerarg line="--patch-module org.apache.poi.ooxml.schemas=${ooxml-schema.output.dir}:${ooxml-schema.output.gen-classes.dir}"/>
         </javac>
 
         <mkdir dir="build/dist/maven/poi-ooxml-full"/>
@@ -1275,7 +1275,7 @@ under the License.
                fork="true"
                modulepath="${basedir}/lib/main-tests"
                unless:true="${isJava8}">
-            <compilerarg line="--patch-module org.apache.poi.ooxml_lite=${ooxml.output.test.dir}"/>
+            <compilerarg line="--patch-module org.apache.poi.ooxml_lite=${ooxml.output.test.dir}:${ooxml.lite.output.dir}"/>
         </javac>
 
         <jar destfile="${ooxml.lite.agent}">