+ "reverting to file repository " + home);
}
// Use ',' as platform agnostic path separator
String[] paths = StringUtils.split(modulePath, ",");
String[] systemPaths = {"modules", "packages"};
RingoConfig ringoConfig =
new RingoConfig(home, base, paths, systemPaths);
ringoConfig.setDebug(debug);
ringoConfig.setVerbose(verbose);
ringoConfig.setParentProtoProperties(legacyMode);
ringoConfig.setStrictVars(!legacyMode && !production);
ringoConfig.setReloading(!production);
ringoConfig.setOptLevel(optlevel);
if (bootScripts != null) {
ringoConfig.setBootstrapScripts(Arrays.asList(
StringUtils.split(bootScripts, ",")));
}
engine = new RhinoEngine(ringoConfig, null);
} catch (Exception x) {
throw new ServletException(x);