git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56b18f6
)
JAL-3949 read ~/.jalview_properties before initialising the logging
author
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 11 Feb 2022 12:39:51 +0000
(12:39 +0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 11 Feb 2022 12:39:51 +0000
(12:39 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
920c86d
..
f01cbb6
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-284,17
+284,6
@@
public class Jalview
System.out.println("Launcher version: " + val);
}
System.out.println("Launcher version: " + val);
}
- try
- {
- Cache.initLogger();
- } catch (NoClassDefFoundError error)
- {
- error.printStackTrace();
- System.out.println("\nEssential logging libraries not found."
- + "\nUse: java -classpath \"$PATH_TO_LIB$/*:$PATH_TO_CLASSES$\" jalview.bin.Jalview");
- System.exit(0);
- }
-
// report Jalview version
Cache.loadBuildProperties(true);
// report Jalview version
Cache.loadBuildProperties(true);
@@
-377,6
+366,17
@@
public class Jalview
System.setProperty("http.agent",
"Jalview Desktop/" + Cache.getDefault("VERSION", "Unknown"));
System.setProperty("http.agent",
"Jalview Desktop/" + Cache.getDefault("VERSION", "Unknown"));
+ try
+ {
+ Cache.initLogger();
+ } catch (NoClassDefFoundError error)
+ {
+ error.printStackTrace();
+ System.out.println("\nEssential logging libraries not found."
+ + "\nUse: java -classpath \"$PATH_TO_LIB$/*:$PATH_TO_CLASSES$\" jalview.bin.Jalview");
+ System.exit(0);
+ }
+
desktop = null;
setLookAndFeel();
desktop = null;
setLookAndFeel();