From: Ben Soares Date: Thu, 25 Apr 2019 11:47:51 +0000 (+0100) Subject: JAL-3224 JAL-3225 To be compatible with install4j bundled JRE on windows, have change... X-Git-Tag: Release_2_11_0~17^2~7^2~1^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4425808d85ab0d70e4c5b7542cb4e5d3ee295b21;p=jalview.git JAL-3224 JAL-3225 To be compatible with install4j bundled JRE on windows, have changed all the java_vm folder references to jre in getdown jars too. Install4j Windows media now bundles a JRE (into this location) so it can launch install4j installer too. Java 11 installers working on Windows, but Java 1.8 complaining about com.sun.xml.ws.policy.Policy not found. --- diff --git a/.classpath b/.classpath index 7a5cc53..35bf3de 100644 --- a/.classpath +++ b/.classpath @@ -29,6 +29,7 @@ + @@ -46,7 +47,6 @@ - diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index e8b0ee7..47c03b7 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,5 +1,5 @@ # -#Thu Apr 25 01:57:42 BST 2019 +#Thu Apr 25 12:37:19 BST 2019 org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert diff --git a/build.gradle b/build.gradle index 55d5709..4cb626d 100644 --- a/build.gradle +++ b/build.gradle @@ -797,19 +797,23 @@ install4j { def install4jConf def macosJavaVMDir +def macosJavaVMTgz def windowsJavaVMDir +def windowsJavaVMTgz def install4jDir = "$jalviewDir/$install4jResourceDir" def install4jConfFile = "jalview-installers-java"+JAVA_VERSION+".install4j" install4jConf = "$install4jDir/$install4jConfFile" task copyInstall4jTemplate(type: Copy) { - macosJavaVMDir = System.env.HOME+"/buildtools/jre/openjdk-java_vm/macos-jre"+JAVA_VERSION+"/java_vm" - windowsJavaVMDir = System.env.HOME+"/buildtools/jre/openjdk-java_vm/windows-jre"+JAVA_VERSION+"/java_vm" + macosJavaVMDir = System.env.HOME+"/buildtools/jre/openjdk-java_vm/getdown/macos-jre"+JAVA_VERSION+"/java_vm" + macosJavaVMTgz = System.env.HOME+"/buildtools/jre/openjdk-java_vm/install4j/tgz/macos-jre"+JAVA_VERSION+".tar.gz" + windowsJavaVMDir = System.env.HOME+"/buildtools/jre/openjdk-java_vm/getdown/windows-jre"+JAVA_VERSION+"/java_vm" + windowsJavaVMTgz = System.env.HOME+"/buildtools/jre/openjdk-java_vm/install4j/tgz/windows-jre"+JAVA_VERSION+".tar.gz" from (install4jDir) { include install4jTemplate rename (install4jTemplate, install4jConfFile) filter(ReplaceTokens, beginToken: '', endToken: '', tokens: ['9999999999': JAVA_VERSION]) - filter(ReplaceTokens, beginToken: '$$', endToken: '$$', tokens: ['JAVA_VERSION': JAVA_VERSION, 'VERSION': JALVIEW_VERSION, 'MACOS_JAVA_VM_DIR': macosJavaVMDir, 'WINDOWS_JAVA_VM_DIR': windowsJavaVMDir]) + filter(ReplaceTokens, beginToken: '$$', endToken: '$$', tokens: ['JAVA_VERSION': JAVA_VERSION, 'VERSION': JALVIEW_VERSION, 'MACOS_JAVA_VM_DIR': macosJavaVMDir, 'MACOS_JAVA_VM_TGZ': macosJavaVMTgz, 'WINDOWS_JAVA_VM_DIR': windowsJavaVMDir, 'WINDOWS_JAVA_VM_TGZ': windowsJavaVMTgz]) } into install4jDir inputs.files("$install4jDir/$install4jTemplate") diff --git a/getdown/lib/getdown-launcher.jar b/getdown/lib/getdown-launcher.jar index 6a73694..b52deec 100644 Binary files a/getdown/lib/getdown-launcher.jar and b/getdown/lib/getdown-launcher.jar differ diff --git a/j11lib/getdown-core.jar b/j11lib/getdown-core.jar new file mode 100644 index 0000000..3e811b2 Binary files /dev/null and b/j11lib/getdown-core.jar differ diff --git a/j8lib/getdown-core.jar b/j8lib/getdown-core.jar new file mode 100644 index 0000000..3e811b2 Binary files /dev/null and b/j8lib/getdown-core.jar differ diff --git a/lib/getdown-core.jar b/lib/getdown-core.jar new file mode 100644 index 0000000..3e811b2 Binary files /dev/null and b/lib/getdown-core.jar differ diff --git a/utils/install4j/install4j_template.install4j b/utils/install4j/install4j_template.install4j index 9261cd7..3366b72 100644 --- a/utils/install4j/install4j_template.install4j +++ b/utils/install4j/install4j_template.install4j @@ -1,13 +1,13 @@ - + - + @@ -40,10 +40,10 @@ - + - + @@ -1574,9 +1574,10 @@ return console.askYesNo(message, true); - + + @@ -1619,10 +1620,11 @@ return console.askYesNo(message, true); - + + @@ -1640,7 +1642,7 @@ return console.askYesNo(message, true); - + @@ -1673,5 +1675,5 @@ return console.askYesNo(message, true); - +