ensure console contains build details in header
authorjprocter <Jim Procter>
Mon, 5 Apr 2010 15:56:59 +0000 (15:56 +0000)
committerjprocter <Jim Procter>
Mon, 5 Apr 2010 15:56:59 +0000 (15:56 +0000)
src/jalview/gui/Desktop.java

index 77cf56f..ab2175d 100755 (executable)
@@ -115,6 +115,15 @@ public class Desktop extends jalview.jbgui.GDesktop implements
               (int) (screenSize.height - 650) / 2, 900, 650);
     }
     jconsole = new Console(this);
+    // immediately output essential build information
+    System.out.println("Jalview Desktop "+jalview.bin.Cache.getProperty("VERSION")+"\n"
+            +"Build Date: "
+            + jalview.bin.Cache.getDefault("BUILD_DATE", "unknown")+"\n"
+            + "Java version: " + System.getProperty("java.version")
+            + "\n"+System.getProperty("os.arch") + " "
+            + System.getProperty("os.name") + " "
+            + System.getProperty("os.version"));
+    
     showConsole(showjconsole);
 
     this.addWindowListener(new WindowAdapter()