Create Xtext/Xbase project with predefined ecore model [message #767667] |
Sun, 18 December 2011 16:25 |
tiange zhang Messages: 16 Registered: February 2011 Location: Shanghai, China |
Junior Member |
|
|
Hi,
I want to use predefined ecore model instead of inferred ecore model for my grammar. If the predefined ecore model contains reference to JvmTypeReference, "create Xtext project from existing Ecore Models" wizard will generate a very large grammar which can't pass the generation.
Is there a document that provide simple steps guide creating such kind of Xtext project? How to define the grammar and how to write the workflow file?
I defined a very simple ecore model like this:
class Model{
part Entity[] entities;
}
class Entity{
String name;
part JvmTypeReference mapto;
}
Thanks
[Updated on: Sun, 18 December 2011 16:26] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02712 seconds