Skip to content
Snippets Groups Projects
Commit df7379df authored by legoc's avatar legoc
Browse files

Adapted to new version of cameo-api-cpp 1.0.0, modified calls to This.init()

parent d181b6da
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadcommandsystem</artifactId>
<version>4.0.33</version>
<version>4.0.34-SNAPSHOT</version>
</dependency>
<dependency> <!-- For CollectionUtils -->
<groupId>org.apache.commons</groupId>
......
......@@ -80,8 +80,7 @@ public class Startup {
break;
case -2:
String[] cameoArgs = {ConfigManager.getInstance().getServerEndpoint() + ":nomadgui"};
Application.This.init(cameoArgs);
Application.This.init("nomadgui", ConfigManager.getInstance().getServerEndpoint());
ServerInstance.getInstance().init();
try {
......
......@@ -73,8 +73,7 @@ public class NomadLite {
public void init() {
ConfigManager.initInstance("");
Nomad.setLite();
String[] cameoArgs = {ConfigManager.getInstance().getServerEndpoint() + ":nomadgui"};
Application.This.init(cameoArgs);
Application.This.init("nomadgui", ConfigManager.getInstance().getServerEndpoint());
ServerInstance.getInstance().init();
ServerConnection login = new ServerConnection();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment