Closed carltonwhitehead closed 6 years ago
This work will also ensure the app tears down the Coner Core service instance when the user exits.
Ease of use is very important to the project at large, but especially in context of this Easy Mode. We should do everything possible to spare our users from path / environment variable configuration hell, which is a risk here.
We'll need to start up a process along the lines of this command java -jar /path/to/core-service.jar server /path/to/core-service-config.yml
.
In order to make that java
call resilient, we should build in some detection mechanisms that verify availability of java
on the path when we dock the View. In case it isn't available, we should try again with the path of the current JVM, and additionally have a graceful error message in case for some reason we still can't detect it. See System.getProperties("java.home")
This should be an "Easy Mode", wherein the user doesn't need to know about IP addresses, port numbers, and configuration files. Supply or generate a config file with sensible defaults.