File configFile = new File(resourcesDir + File.separator + config.getSubsystem());
SubsystemParser configParser = new SubsystemParser(null, config.getSupplement(), configFile);
configParser.parse();
ModuleIdentifier moduleId = ModuleIdentifier.create(configParser.getExtensionModule());
processModuleDependency(dependencies, modulesNode, new ModuleDependency(moduleId, false));
}
}
for (String staticId : staticModules) {
if (!staticId.isEmpty()) {
ModuleIdentifier moduleId = ModuleIdentifier.fromString(staticId);
processModuleDependency(dependencies, modulesNode, new ModuleDependency(moduleId, false));
}
}
// sort the dependencies
Comparator<ModuleIdentifier> comp = new Comparator<ModuleIdentifier>() {