You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change behaviour of the EI backendInstancesinformation file (#99)
- EI will now use user.home as default place
to create ".eiffel-intelligent-home" folder with
EIBackendInstancesInformation.json as default name. If it doesnt exist
it it will try to create it and if it cannot create it, it will
exit. If backendInstancesFilePath is given in application.properties
that will be used instead, if it doesnt exist it will be created.
If it can't be created it will exit.
LOG.error("File does not contain valid json! JSON:'" + newString(Files.readAllBytes(Paths.get(eiInstancesPath))) + "'.");
97
+
System.exit(-1);
98
+
}
99
+
} catch(Exceptione) {
100
+
Stringmessage = String.format(
101
+
"Failed to read backendInstancesFilePath %s. Please check access rights or choose another backendInstancesFilePath in application.properties.", eiInstancesPath);
102
+
LOG.error(message);
103
+
System.exit(-1);
78
104
}
105
+
}
79
106
80
-
if (!fileContainsJsonArray()) {
81
-
LOG.error("File does not contain valid json! JSON:'" + newString(Files.readAllBytes(Paths.get(eiInstancesPath))) + "'.");
"Failed to create eiffel intelligence home folder in %s. Please check access rights or choose a specific backendInstancesFilePath in application.properties.", eiHome);
0 commit comments