use of org.moe.generator.project.MOEProjectComposer in project moe-ide-integration by multi-os-engine.
the class MOEModuleBuilder method createModule.
private void createModule(VirtualFile contentRoot, Project project) throws MOEProjectComposer.MOEProjectComposerException {
String path = contentRoot.getCanonicalPath();
if (moduleProperties == null) {
return;
}
moduleProperties.setProjectRoot(path);
MOEProjectComposer projectComposer = new MOEProjectComposer();
String packageName = moduleProperties.getPackageName();
projectComposer.setTargetDirectory(new File(moduleProperties.getProjectRoot())).setMoeVersion("1.4.+").setProjectName(moduleProperties.getProjectName()).setOrganizationName(moduleProperties.getOrganizationName()).setOrganizationID(moduleProperties.getCompanyIdentifier()).setPackageName(packageName).setTemplate(template.getType()).setSubproject(!isNewProject).compose();
}
Aggregations