JAL-2116 fix jnlp file post-processing so java 9 module path and java version added...
authorJim Procter <jprocter@issues.jalview.org>
Fri, 6 Oct 2017 16:01:38 +0000 (17:01 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 6 Oct 2017 16:01:38 +0000 (17:01 +0100)
build.xml

index eb30ef0..f39fdf3 100755 (executable)
--- a/build.xml
+++ b/build.xml
           <offline_allowed />
         </information>
         <resources>
-          <j2se version="9+" />
+          <j2se version="1.7+" />
           <jar main="true" href="jalview.jar"/>
           <fileset dir="${packageDir}">
             <exclude name="jalview.jar" />
     </presetdef>
 
     <jnlpf toFile="${jnlpFile}" />
-    <!-- add a j2se entry for java 9 -->
+    <!-- add the add-modules j2se attribute for java 9 -->
     <replace file="${jnlpFile}" value="j2se version=&quot;1.7+&quot; initial-heap-size=&quot;${inih}&quot; max-heap-size=&quot;${maxh}&quot; java-vm-args=&quot;--add-modules=java.se.ee&quot;">
-          <replacetoken>j2se version="1.9+"</replacetoken>
+          <replacetoken>j2se version="1.7+"</replacetoken>
            
         </replace>
   </target>