use of org.eclipse.xtend.type.impl.java.JavaBeansMetaModel in project applause by applause.
the class AbstractBuildStrategy method generate.
public void generate(Application app, Output output) {
System.out.println("Generating code for platform project " + getPlatformProject().getName() + " from model in model project " + context.getBuiltProject());
XpandExecutionContextImpl ctx = new XpandExecutionContextImpl(output, null, Collections.<String, Variable>emptyMap(), null, null);
ctx.registerMetaModel(new JavaBeansMetaModel());
try {
XpandFacade.create(ctx).evaluate(getMainTemplateName(), app);
} catch (Exception e) {
e.printStackTrace();
}
}
Aggregations