public ModuleDefinitionSet loadModules(Collection<ModuleDefinition> defs, String root) throws IOException {
Map<String, ModuleDefinition> modules = wireUpModules(root, defs);
DefaultModuleDefinitionSet moduleSet = new DefaultModuleDefinitionSet(modules, root);
moduleSet.load();
return moduleSet;
}
protected Map<String, ModuleDefinition> wireUpModules(String root, Collection<ModuleDefinition> defs) throws IOException {