Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // temporary configuration file
- auto config = "../conf/gravitate-server.conf";
- try {
- // initialize server context
- serverContext = new ServerContext(config);
- } catch (IOException e) {
- // configuration file doesn't exist or isn't readable
- Stdout.format("Configuration file {} does not exist or is not readable",
- FileSystem.toAbsolute(new FilePath(config))).newline;
- return;
- }
Add Comment
Please, Sign In to add comment