return;
}
final File file = new File(configFile);
if (file.exists()) {
final ClassLoaderEnricher enricher = SystemInstance.get().getComponent(ClassLoaderEnricher.class);
BufferedReader reader = null;
try {
reader = new BufferedReader(new FileReader(file));
String line;
while ((line = reader.readLine()) != null) {
line = line.trim();
if (line.isEmpty() || line.startsWith("#")) {
continue;
}
final File lib = new File(ProvisioningUtil.realLocation(line));
if (lib.exists()) {
enricher.addUrl(lib.toURI().toURL());
} else {
throw new OpenEJBRuntimeException("can't find " + line);
}
}
} catch (Exception e) {