JAL-3449 Added more versions to getdown splashscreen and fixed Jalview's Java Console...
authorBen Soares <bsoares@dundee.ac.uk>
Fri, 6 Dec 2019 17:34:04 +0000 (17:34 +0000)
committerBen Soares <bsoares@dundee.ac.uk>
Fri, 6 Dec 2019 17:34:04 +0000 (17:34 +0000)
getdown/lib/getdown-core.jar
getdown/lib/getdown-launcher-local.jar
getdown/lib/getdown-launcher.jar
getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/StatusPanel.java
j11lib/getdown-core.jar
j8lib/getdown-core.jar
src/jalview/bin/Cache.java

index 2c1e03a..12752c8 100644 (file)
Binary files a/getdown/lib/getdown-core.jar and b/getdown/lib/getdown-core.jar differ
index b2275c6..a79d379 100644 (file)
Binary files a/getdown/lib/getdown-launcher-local.jar and b/getdown/lib/getdown-launcher-local.jar differ
index 8ece2b6..e3a676a 100644 (file)
Binary files a/getdown/lib/getdown-launcher.jar and b/getdown/lib/getdown-launcher.jar differ
index 620182b..89b621e 100644 (file)
@@ -32,8 +32,8 @@ import com.threerings.getdown.data.Build;
 import com.threerings.getdown.util.MessageUtil;
 import com.threerings.getdown.util.Rectangle;
 import com.threerings.getdown.util.StringUtil;
-
 import static com.threerings.getdown.Log.log;
+import com.install4j.api.launcher.Variables;
 
 /**
  * Displays download and patching status.
@@ -278,11 +278,19 @@ public final class StatusPanel extends JComponent
  
        StringBuilder labelText = new StringBuilder();
        if (_ifc.displayVersion) {
-               labelText.append("launcher version: "+Build.version());
+               labelText.append("launcher version: " + Build.version());
+               labelText.append("\n");
+        try {
+          labelText.append("install4j version: " + Variables.getCompilerVariable("sys.install4jVersion"));
+        } catch(java.io.IOException e) {
+          labelText.append("install4j version: not available");
+        }
+               labelText.append("\n");
+               labelText.append("installer version: " + System.getProperty("installer_template_version"));
                labelText.append("\n");
        }
        if (_ifc.displayAppbase) {
-               labelText.append("appbase: "+_appbase);
+               labelText.append("appbase: " + _appbase);
                labelText.append("\n");
        }
        labelText.append(status); 
index 2c1e03a..12752c8 100644 (file)
Binary files a/j11lib/getdown-core.jar and b/j11lib/getdown-core.jar differ
index 2c1e03a..12752c8 100644 (file)
Binary files a/j8lib/getdown-core.jar and b/j8lib/getdown-core.jar differ
index 4e4a021..3b9b98a 100755 (executable)
@@ -1092,13 +1092,15 @@ public class Cache
     sb.append("\n");
     sb.append(System.getProperty("os.arch") + " " + System.getProperty("os.name") + " " + System.getProperty("os.version"));
     sb.append("\n");
-    System.out.println("Install4j version: "
+    sb.append("Install4j version: "
             + System.getProperty("sys.install4jVersion"));
-    System.out.println("Install4j template version: "
+    sb.append("\n");
+    sb.append("Install4j template version: "
             + System.getProperty("installer_template_version"));
-    System.out.println(
+    sb.append("\n");
+    sb.append(
             "Launcher version: " + System.getProperty("launcher_version"));
-
+    sb.append("\n");
     if (jalview.bin.Cache.getDefault("VERSION", "TEST").equals("DEVELOPMENT")) {
       sb.append("Getdown appdir: " + System.getProperty("getdownappdir"));
       sb.append("\n");