odeConfigDir = config;
}
File configFile = new File(odeConfigDir);
ODEConfigProperties odeProps = new ODEConfigProperties(configFile);
odeProps.load();
Database db = new Database(odeProps);
String webappPath = getClass().getClassLoader().getResource("webapp").getFile();
db.setWorkRoot(new File(webappPath, "/WEB-INF"));
return db;
}