Skip to main content


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 14:13
Natalie Cranston is currently offline Natalie CranstonFriend
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: Tue Apr 23 06:34:27 GMT 2024

Powered by FUDForum. Page generated in 0.04061 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top