|Extracting DSL Metamodels [message #940308]
||Thu, 11 October 2012 14:13
| Natalie Cranston
Registered: August 2012
I am roughly following the Android Tutorial for Extracting a DSL Metamodel along with the Xtext tutorials.
I follow the tutorial from the "Extracting your DSL metamodel to its own plugin" section. Here is the Android Tutorial link:
I am successful with the tutorial if my grammar does not use Xbase. For example, if my grammar starts with this then I have no problems:
grammar org.xtext.example.example.Example with org.eclipse.xtext.common.Terminals
If my grammar starts with this then I have troubles:
grammar org.xtext.example.example.Example with org.eclipse.xtext.xbase.Xbase
I get to the point where I need to to create the EMF Generator Model (under "Moving the Metamodel to Its Own Plug-in"). When I browse the workspace and chose the "Example.ecore" I get this error:
"Problems Were Detected While Validating and Converting the Ecore Files".
Is it not possible at all the create the generator with Xbase? Or have I missed something else?
Powered by FUDForum
. Page generated in 0.01945 seconds