Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtend2 for Ecore M2M transformation
Xtend2 for Ecore M2M transformation [message #710727] Fri, 05 August 2011 10:53 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

can anybody point me to a tutorial/documentation/example for the use case of employing Xtend2 as model-to-model transformation from one ecore-Metamodel to another ecore-metamodel?

I especially would like to replace some Xtend1 transformations for this purpose. Most interesting would be how to get easy access to the concrete Types in the Metamodels, without using the Java Typesystem that would require all the verbose Java API stuff like the Factories to create new model elements.

Do I need to configure a corresponding MWE2 workflow?

Cheers,
Hauke
Re: Xtend2 for Ecore M2M transformation [message #710735 is a reply to message #710727] Fri, 05 August 2011 11:02 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14669
Registered: July 2009
Senior Member
Hi,

i guess this usecase is not what Xtend2 is made for. using the reflective api of emf is very ugly in my point of view for this - especially compared to Xtend1 Wink

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtend2 for Ecore M2M transformation [message #710781 is a reply to message #710735] Fri, 05 August 2011 11:57 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

The LWC11 tutorial shows an example for an M2M trafo with Xtend
http://code.google.com/a/eclipselabs.org/p/lwc11-xtext/


Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:Compile xtend2 files to Java code without eclipse
Next Topic:Is it possible to write the dsl validations in xtend2?
Goto Forum:
  


Current Time: Sat Apr 27 03:41:09 GMT 2024

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

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

Back to the top