Search in sources :

Example 1 with MOEProjectComposer

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();
}
Also used : MOEProjectComposer(org.moe.generator.project.MOEProjectComposer) VirtualFile(com.intellij.openapi.vfs.VirtualFile) File(java.io.File)

Aggregations

VirtualFile (com.intellij.openapi.vfs.VirtualFile)1 File (java.io.File)1 MOEProjectComposer (org.moe.generator.project.MOEProjectComposer)1