Community
Participate
Working Groups
Build Identifier: 20110602-0820 If you create a new Xtext project which generates the ecore model, some elements for the code generator are automatically created (xtend file, extension in the plugin.xml, ...). In that case, when running the plugins in a new workbench, you are able to generate the code from a concrete syntax instance (happens automatically while saving the file). If the Xtext project is created from an existing ecore model, nothing is created for you: no xtend file, no plugins extensions, ... In that case when running the plugins in a new workbench, code generation never occurs when saving the concrete syntax instance. This seems to be because all the xtext2/xtend2 features don't seem to be included when you create a project from an existing ecore model (e.g. also the rename refactoring option). Is this on the TODO list for the indigo release or is it just a bug ? Reproducible: Always
The "project from existing ecore" wizard should generate an up-to-date mwe2 file.
Fixed in 2.9
Requested via bug 522520. -M.