Package org.objectstyle.wolips.templateengine

Examples of org.objectstyle.wolips.templateengine.TemplateEngine.run()


    templateEngine.getWolipsContext().setProjectName(projectName);
    templateEngine.addTemplate(new TemplateDefinition("jarproject/.classpath.vm", path, ".classpath", ".classpath"));
    templateEngine.addTemplate(new TemplateDefinition("jarproject/.project.vm", path, ".project", ".project"));
    templateEngine.addTemplate(new TemplateDefinition("jarproject/build.xml.vm", path, "build.xml", "build.xml"));
    templateEngine.addTemplate(new TemplateDefinition("jarproject/build.properties.vm", path, "build.properties", "build.properties"));
    templateEngine.run(progressMonitor);
  }
}
View Full Code Here


    templateEngine.addTemplate(new TemplateDefinition(pathRoot+"/Properties.vm", path, "Properties", "Properties"));
    templateEngine.addTemplate(new TemplateDefinition(pathRoot+"/user.d2wmodel.vm", path, "user.d2wmodel", "user.d2wmodel"));

    createWebServicesSupport(project, templateEngine);

    templateEngine.run(progressMonitor);

  }
}
View Full Code Here

      throw new InvocationTargetException(e);
    }
    templateEngine.getWolipsContext().setProjectName(subprojectName);
    templateEngine.addTemplate(new TemplateDefinition("subproject/PB.project.vm", path, "PB.project", "PB.project"));
    try {
      templateEngine.run(new NullProgressMonitor());
    } catch (Exception e) {
      WizardsPlugin.getDefault().log(e);
      throw new InvocationTargetException(e);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.