Hi, I think this is a very interesting case. You are right that you should create your own xtext project.
There are actually two meta models involved, one for the DSL (directly derived from the xtext grammar) and one used by the code generation. In between there is a transformation. This is described more in the Developer's Guide: http://www.fornax-platform.org/cp/display/fornax/7.+Developer%27s+Guide+(CSC)#7.Developer%27sGuide(CSC)-Transformations I think you can start with not changing the code generation meta model, and only provide your own transformation, between your xtext grammar meta model and the original code generation meta model. You will have your own variant of DslTransformation.ext To execute this I think you need your own workflow file, i.e. replacement for sculptorworkflow.oaw /Patrik Steffen Stundzig wrote: > > Hi all, > > at first: > > fornax and especially sculptor are a great piece of work to develop model > driven. > > my question: > > The sculptor dsl seems to be for technicians. I will demonstrate to one of > our customers a more domain specific language for his domain with subjects > like plant, item and so on. All these terms are subclasses of entity or > service. So I must build my own metamodel as specialization of the > sculptor metamodel. > > Whats the best way to do that? > > Currently I think I should initiate an new XText Project, build a xtxt > based on your metamodel, build the editor and edit projects for that, and > call the sculptor workflow on my model. Right? Did anybody has an example > for that? > > Thanks. > > Regards > Steffen... > > -- View this message in context: http://www.nabble.com/Own-metamodel-based-on-sculptormetamodell-tp19568982s17564p19570158.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer