catch (Exception ex)\r
{\r
System.out.println("Error reading build details: "+ex);\r
+ applicationProperties.remove("VERSION");\r
}\r
\r
String jnlpVersion = System.getProperty("jalview.version");\r
String codeVersion = getProperty("VERSION");\r
\r
+ if(codeVersion==null)\r
+ {\r
+ // THIS SHOULD ONLY BE THE CASE WHEN TESTING!!\r
+ codeVersion = "Test";\r
+ jnlpVersion = "Test";\r
+ setProperty("jalview.version", jnlpVersion);\r
+ setProperty("VERSION", codeVersion);\r
+ }\r
+\r
+\r
// jnlpVersion will be null if we're using InstallAnywhere\r
if(jnlpVersion==null)\r
{\r
setProperty("jalview.version", line);\r
}\r
}catch(Exception ex)\r
- {setProperty("jalview.version", codeVersion);}\r
+ { setProperty("jalview.version", codeVersion); }\r
}\r
}\r
\r