JAL-3130 another tweak for bamboo to add the JDK jmods to --module-path
authorBen Soares <bsoares@dundee.ac.uk>
Mon, 10 Dec 2018 16:59:56 +0000 (16:59 +0000)
committerBen Soares <bsoares@dundee.ac.uk>
Mon, 10 Dec 2018 16:59:56 +0000 (16:59 +0000)
build.xml

index ce56b69..d589cc3 100755 (executable)
--- a/build.xml
+++ b/build.xml
         <pathelement location="${clover.jar}" if:set="clover.jar"/>
         <path refid="test.classpath" />
       </classpath>
-      <jvmarg value="--module-path=${j11libDir}" if:set="java11"/>
+      <jvmarg value="--module-path=${j11libDir}:${java.home}/jmods" if:set="java11"/>
       <jvmarg value="--add-modules=java.se.ee" if:set="java9"/>
       <jvmarg value="--illegal-access=warn" if:set="java9"/>
       <classfileset dir="${testOutputDir}" includes="**/*.class" />