From: Ben Soares Date: Fri, 5 Apr 2019 16:19:07 +0000 (+0100) Subject: JAL-3130 This commit concentrates on the Mac OS X DMG app bundle, ensuring only one... X-Git-Tag: Release_2_11_0~17^2~7^2~47 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=49a555c3890bc93583a5e0d8f0f237db21f5e3d3;p=jalview.git JAL-3130 This commit concentrates on the Mac OS X DMG app bundle, ensuring only one JRE needed in the .app bundle for 1) install4j, 2) getdown, 3) jalview --- diff --git a/build.gradle b/build.gradle index 7b6cd6b..4a63af9 100644 --- a/build.gradle +++ b/build.gradle @@ -180,6 +180,7 @@ task syncLib(type: Sync) { task syncResources(type: Sync) { from "$jalviewDir/$resourceDir" include "**/*.*" + exclude "install4j" into "$jalviewDir/$classesDir" preserve { include "**" diff --git a/getdown/lib/getdown-core-1.8.3-SNAPSHOT.jar b/getdown/lib/getdown-core-1.8.3-SNAPSHOT.jar index e8eef5f..545f20b 100644 Binary files a/getdown/lib/getdown-core-1.8.3-SNAPSHOT.jar and b/getdown/lib/getdown-core-1.8.3-SNAPSHOT.jar differ diff --git a/getdown/lib/getdown-launcher.jar b/getdown/lib/getdown-launcher.jar index 3439ea4..f71b6ee 100644 Binary files a/getdown/lib/getdown-launcher.jar and b/getdown/lib/getdown-launcher.jar differ diff --git a/resources/install4j/jalview_getdown.install4j b/resources/install4j/jalview_getdown.install4j index 16aad1d..fed85e9 100644 --- a/resources/install4j/jalview_getdown.install4j +++ b/resources/install4j/jalview_getdown.install4j @@ -1,15 +1,13 @@ - - + + - - - + @@ -21,13 +19,19 @@ + + + + + + @@ -36,11 +40,19 @@ + + + + + + @@ -79,7 +91,7 @@ - + @@ -1469,7 +1481,7 @@ return console.askYesNo(message, true); - + @@ -1479,6 +1491,7 @@ return console.askYesNo(message, true); + @@ -1486,7 +1499,7 @@ return console.askYesNo(message, true); - + @@ -1511,6 +1524,8 @@ return console.askYesNo(message, true); + + @@ -1528,6 +1543,8 @@ return console.askYesNo(message, true); + + @@ -1550,6 +1567,8 @@ return console.askYesNo(message, true); + + @@ -1579,6 +1598,8 @@ return console.askYesNo(message, true); + + @@ -1627,6 +1648,8 @@ return console.askYesNo(message, true); + + @@ -1637,7 +1660,7 @@ return console.askYesNo(message, true); - + @@ -1647,6 +1670,7 @@ return console.askYesNo(message, true); + @@ -1654,12 +1678,34 @@ return console.askYesNo(message, true); + + + + + + + + + + + + + + + + + + + + + + - - - + + + diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index fc36047..1fed71e 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -553,7 +553,15 @@ public class Desktop extends jalview.jbgui.GDesktop + System.getProperty("java.version") + "\n" + System.getProperty("os.arch") + " " + System.getProperty("os.name") + " " - + System.getProperty("os.version")); + + System.getProperty("os.version") + + (jalview.bin.Cache.getProperty("VERSION").equals("DEVELOPMENT") + ? "\nJava path:" + + System.getProperty( + "java.home") + + File.separator + "bin" + + File.separator + "java" + : "") + ); showConsole(showjconsole);