use of org.eclipse.vorto.codegen.ui.wizard.generation.templates.ManifestFileTemplate in project vorto by eclipse.
the class ProjectCreationTask method createGeneratorProject.
private void createGeneratorProject(IProgressMonitor monitor) {
EclipseProjectGenerator<IGeneratorProjectContext> generator = new EclipseProjectGenerator<IGeneratorProjectContext>(new LocationWrapper(context.getWorkspaceLocation(), context.getPackageName() + "." + context.getGeneratorName().toLowerCase()));
generator.pluginNature(new PluginBuildFileTemplate(), new ManifestFileTemplate(), "src", "xtend-gen");
generator.addNature(MavenNature.MAVEN_NATURE_STRING);
generator.addTask(new GeneratorTemplate());
generator.addTask(new PomTemplate());
generator.addTask(new PluginXMLFileTemplate());
generator.generate(context, InvocationContext.simpleInvocationContext(), monitor);
}
Aggregations