Skip to content
Snippets Groups Projects
Commit 98a3b5f5 authored by helene ortiz's avatar helene ortiz
Browse files

set up user home properly

parent 43592e46
Branches
No related tags found
No related merge requests found
......@@ -60,11 +60,11 @@ public class ConfigManager {
public final static String VIEW_PATTERN = "View.xml";
public final static String COMMAND_VIEW_PATTERN = "CommandView.xml";
public final static String NOMAD_CLIENT_FILES = System.getProperty("user.home");
public static final String DOT_NOMAD_DIRECTORY = ".nomad";
public static final String NOMAD_CHAT_FILES = ".nomadChats";
public final static String USER_HOME = System.getProperty("user.home");
public final static String NOMAD_CLIENT_FILES = USER_HOME;
private static final Logger LOGGER = Logger.getLogger(ConfigManager.class.getName());
......@@ -553,6 +553,7 @@ public class ConfigManager {
String serverEndpoint = getStringOrNothingAtAll("serverEndpoint");
if (serverEndpoint != null) {
System.out.println("================> serverEndPoint " + serverEndpoint);
return serverEndpoint;
}
......@@ -564,6 +565,7 @@ public class ConfigManager {
String nomadServerEndpoint = getStringOrNothingAtAll("nomadServerEndpoint");
if (nomadServerEndpoint != null) {
System.out.println("================> nomadServerEndPoint " + nomadServerEndpoint);
return nomadServerEndpoint;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment