Skip to main content



      Home
Home » Modeling » Epsilon » Mixing Other Frameworks
Mixing Other Frameworks [message #586849] Fri, 26 February 2010 12:00 Go to next message
Eclipse UserFriend
Hello,

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.

Regards,

Horacio Hoyos
Re: Mixing Other Frameworks [message #586872 is a reply to message #586849] Fri, 26 February 2010 14:04 Go to previous message
Eclipse UserFriend
Hi Horacio,

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.

Cheers,
Dimitris

Horacio wrote:
> Hello,
>
> 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.
>
> Regards,
>
> Horacio Hoyos
Previous Topic:[EuGENia] Compartment gets list layout for not annotated elements.
Next Topic:[EuGENia] Compartment gets list layout for not annotated elements.
Goto Forum:
  


Current Time: Wed Jul 23 04:24:29 EDT 2025

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

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

Back to the top