Community
Participate
Working Groups
Build ID: M20060921-0945 Steps To Reproduce: 1. Set dynamic templates to true and set the Template Directory to an arbitrary value (where JET searches for the overriding templates) 2. Prepare an empty template with name Class/declaredFieldGenFeature.override.javajetinc 3. Run Generator/Generate Model Code Code generation fails due to a compilation error caused by a bracket mismatch in the Class_.java file in the (dynamically generated) .JETEmitters project More information: (File: Class.javajet) The location where Class/declaredFieldGenFeature.override.javajetinc should be included is preceded by 2 opening brackets, but it is only succeeded by 1 closing bracket as the second closing bracket (see the second line above the "<%@ end %><%//Class/declaredFieldGenFeature.override.javajetinc%>" line) is incorrectly placed inside the default implementation. I think this bug should appear in many different versions of the codegen part (e.g., org.eclipse.emf.codegen.ecore_2.4.0.v200805052017.jar org.eclipse.emf.codegen.ecore_2.2.1.v200609210005.jar)
The change is committed to CVS for 2.4.
Fix available in HEAD: 2.4.0.I200805121800.