/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
* Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
*
* This file is part of Jalview.
* histogram.</li>
* <li>SHOW_CONSENSUS_LOGO (false) Show consensus annotation row's sequence
* logo.</li>
+ * <li>FOLLOW_SELECTIONS (true) Controls whether a new alignment view should
+ * respond to selections made in other alignments containing the same sequences.
+ * </li>
*
* <li></li>
*
public static void initLogger()
{
+ if (log != null)
+ {
+ return;
+ }
try
{
// TODO: redirect stdout and stderr here in order to grab the output of
System.out.println("Using proxyServer: "
+ getDefault("PROXY_SERVER", null) + " proxyPort: "
+ getDefault("PROXY_PORT", null));
- System
- .setProperty("http.proxyHost", getDefault("PROXY_SERVER",
- null));
+ System.setProperty("http.proxyHost", getDefault("PROXY_SERVER", null));
System.setProperty("http.proxyPort", getDefault("PROXY_PORT", null));
}
try
{
String buildDetails = "jar:".concat(Cache.class.getProtectionDomain()
- .getCodeSource().getLocation().toString().concat(
- "!/.build_properties"));
+ .getCodeSource().getLocation().toString()
+ .concat("!/.build_properties"));
java.net.URL localJarFileURL = new java.net.URL(buildDetails);
"com.boxysystems.jgoogleanalytics.FocusPoint");
} catch (Exception e)
{
- log
- .debug("com.boxysystems.jgoogleanalytics package is not present - tracking not enabled.");
+ log.debug("com.boxysystems.jgoogleanalytics package is not present - tracking not enabled.");
tracker = null;
jgoogleanalyticstracker = null;
trackerfocus = null;
if (log != null)
{
if (re != null)
- log
- .debug(
- "Caught runtime exception in googletracker init:",
- re);
+ log.debug("Caught runtime exception in googletracker init:", re);
if (ex != null)
log.warn(
"Failed to initialise GoogleTracker for Jalview Desktop with version "