Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NomadCommandSystem
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Instrument Control
NomadCommandSystem
Commits
98a3b5f5
Commit
98a3b5f5
authored
5 years ago
by
helene ortiz
Browse files
Options
Downloads
Patches
Plain Diff
set up user home properly
parent
43592e46
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/fr/ill/ics/util/ConfigManager.java
+3
-1
3 additions, 1 deletion
src/main/java/fr/ill/ics/util/ConfigManager.java
with
3 additions
and
1 deletion
src/main/java/fr/ill/ics/util/ConfigManager.java
+
3
−
1
View file @
98a3b5f5
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment