|Re: Mixing Other Frameworks [message #586872 is a reply to message #586849]
||Fri, 26 February 2010 19:04
| Dimitrios Kolovos
Registered: July 2009
Xtext files are proper EMF resources and as such they can be used as-are
in Epsilon. In your EMF model configuration dialog, or the
epsilon.emf.loadModel ANT task, just specify the model you need to work
with (your DSL file) and your metamodel (as usual) and it should work
fine. Please let me know if you face any problems with this.
> I constructed a DSL using xtext. I have a number of text files written
> in that DSL and I want to transform them into a single model that
> conforms to another metamodel. AFAIK xtend dosn't support model merging
> (each text file is considered a model corresponding to the my dsl
> metamodel) to merge all the files to one or multiple input model to one
> output model to do the merge on the transformation.
> So I think epsilon can help me, but since my models are not ecore based
> I need the xtext reader class to read the models
> (org.eclipse.xtext.MweReader). But since epsilon doesn't use a workflow
> I am wondering if some one can think of a way to read my dsl files
> (models) so I can use them as inputs for Epsilon.
> Horacio Hoyos
Powered by FUDForum
. Page generated in 0.01664 seconds