new IDEAProjectEOModelGroupFactory().loadModelGroup(modelGroupFolder, modelGroup, failures, true, new NullProgressMonitor());
new EclipseProjectEOModelGroupFactory().loadModelGroup(modelGroupFolder, modelGroup, failures, true, new NullProgressMonitor());
}
else {
for (String modelPath : modelPaths) {
modelGroup.loadModelFromURL(new File(modelPath).toURL());
}
}
modelGroup.resolve(failures);
modelGroup.verify(failures);
EOModelGraffleGenerator g = new EOModelGraffleGenerator(false, modelGroup, templateFolder, outputFile);