}
Set<String> disabledModuleIds = getDisabledModuleIds(cmd.getOptionValue(disabledModulesOption.getOpt()));
SourceLocations sourceLocations;
if (cmd.hasOption(sourceLocationsOption.getOpt())) {
File file = new File(cmd.getOptionValue(sourceLocationsOption.getOpt())).getAbsoluteFile();
if (!file.exists()) {
System.out.println("The specified source locations property file does not exist: " + file.getAbsolutePath());
System.exit(1);
}
InputStream is = null;
try {
is = new FileInputStream(file);
sourceLocations = new SourceLocations(is, file.getParent());
} catch (Throwable t) {
throw new LilyRTException("Problem reading source locations property file.", t);
} finally {
IOUtils.closeQuietly(is);
}
} else {
sourceLocations = new SourceLocations();
}
LilyRuntimeSettings settings = new LilyRuntimeSettings();