URL scriptUrl = FlexibleLocation.resolveLocation(location);
if (scriptUrl == null) {
throw new GeneralException("Could not find bsh script at [" + location + "]");
}
Reader scriptReader = new InputStreamReader(scriptUrl.openStream());
script = interpreter.parseScript(location, scriptReader);
if (Debug.verboseOn()) Debug.logVerbose("Caching BSH script at: " + location, module);
parsedScripts.put(location, script);
}
}
}