I have a complete EMF-Metamodell (ecore) created. Now I want to try Code-Generation with Xtext2, because I found somewhere that xtext2 is better for code generation than xpand.
I created a new Project with Eclipse and imported my existing ecore-model. I use the new Project with Xtend to do the code-generation.
- I dont like the default convertion to xtext. To many curly braces and other stuff. Can I define somehow how I want it converted?
- When I change my Meta-Model (ecore) how can I enforce an update of the xtext file?
- Is there a better way to achieve my goals?