views:

12

answers:

0

I am not able to generate the translated class file from the .javajet template. The .javajet template in itself is a very simple one :

<%@ jet package="translated" class="FlowMain" %> public class FlowMain {
public static void main(String args[]) throws Exception { } }

After generating the translated .java file, the .class file is not generated. The following is the exception :

org.eclipse.emf.codegen.jet.JETException: ClassNotFoundException: translated.FlowMain at org.eclipse.emf.codegen.jet.JETEmitter$EclipseHelper.initialize(JETEmitter.java:883) at org.eclipse.emf.codegen.jet.JETEmitter.initialize(JETEmitter.java:397) at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.java:459) at org.eclipse.emf.codegen.jet.JETEmitter.generate(JETEmitter.java:447) at org.eclipse.gef.examples.flow.codegen.JETMain.generate(JETMain.java:94) at org.eclipse.gef.examples.flow.ui.FlowCreationWizard.finishPage(FlowCreationWizard.java:94)