Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Mixing Other Frameworks
Mixing Other Frameworks [message #586849] Fri, 26 February 2010 17:00 Go to next message
Horacio Hoyos is currently offline Horacio Hoyos
Messages: 155
Registered: October 2009
Senior Member

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


Horacio Hoyos Rodriguez
EngD Student
University Of York
Re: Mixing Other Frameworks [message #586872 is a reply to message #586849] Fri, 26 February 2010 19:04 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
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: Thu Sep 18 22:03:22 GMT 2014

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

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