Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Extracting DSL Metamodels(Android Tutorial)
Extracting DSL Metamodels [message #940308] Thu, 11 October 2012 10:13
Natalie Cranston is currently offline Natalie Cranston
Messages: 12
Registered: August 2012
Junior Member
Hello All,

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:
"ht tps://github.com/eclipse-soc/amalgamation-examples-xtext/wiki/Building-the-Droid-DSL-editor-with-Xtext"

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?

Thanks, Natalie
Previous Topic:Xtext interpreter to instantiate EMF Object
Next Topic:Migratiion problem
Goto Forum:
  


Current Time: Thu Jul 24 21:36:14 EDT 2014

Powered by FUDForum. Page generated in 0.05625 seconds