}
DependencyResolver resolver = null;
if (type.equalsIgnoreCase("iBiblio")) {
IBiblioResolver iBiblioResolver = new IBiblioResolver();
iBiblioResolver.setName(repName);
if (options.containsKey("root")) {
iBiblioResolver.setRoot(get(options, "root", String.class));
}
iBiblioResolver.setM2compatible(get(options, "m2compatible", boolean.class, true));
iBiblioResolver.getRepository().addTransferListener(logger);
resolver = iBiblioResolver;
}
if (type.equalsIgnoreCase("local")) {
FileSystemResolver fileSystemResolver = new FileSystemResolver();