From: Jim Procter Date: Fri, 28 Nov 2014 14:58:00 +0000 (+0000) Subject: JAL-1522 output installation type to stdout X-Git-Tag: Jalview_2_9~136^2~1 X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=019ed39b5821dea2f921f6d9e66f10863eefcd1c JAL-1522 output installation type to stdout --- diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index d11bffe..3dea84e 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -379,15 +379,21 @@ public class Cache String jnlpVersion = System.getProperty("jalview.version"); String codeVersion = getProperty("VERSION"); - + String codeInstallation = getProperty("INSTALLATION"); if (codeVersion == null) { // THIS SHOULD ONLY BE THE CASE WHEN TESTING!! codeVersion = "Test"; jnlpVersion = "Test"; + codeInstallation = ""; + } + else + { + codeInstallation = " (" + codeInstallation + ")"; } - System.out.println("Jalview Version: " + codeVersion); + System.out + .println("Jalview Version: " + codeVersion + codeInstallation); // jnlpVersion will be null if we're using InstallAnywhere // Dont do this check if running in headless mode