private void addContribScriptsToPath(String contrib) {
addToJythonPath(contrib);
interpreter.exec("import sos.plugins");
interpreter.exec("sos_path = sos.plugins.__path__");
PyObject sosModulePath = interpreter.get("sos_path");
sosModulePath.invoke("append", new PyString(contrib));
addJarsToJythonPath(sosModulePath, contrib);
}
private void addJarsToJythonPath(PyObject sosModulePath, String contribPath) {
File contrib = new File(contribPath);