Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext .mydsl model as input model for M2M transformations(it is possible to user a xtext dsl model as input for a M2M transformation with other models)
Xtext .mydsl model as input model for M2M transformations [message #719072] Fri, 26 August 2011 00:11 Go to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 1
Registered: August 2011
Junior Member
Hi all!
I'm new with xtext and i made a quick search here and did not found something that realy helped me..so this tread...
I have a xtext dsl created with .test extension, it is possible and if so how, to use my.test as input model on any M2M transformation with other models usin atl or mof?
The ideia is to take the dsl text entry saved on a file and then use this file in others model to model transformation... If it's not do i have other options to do this?


Thanks anyway, and sory for this noob thread!
Re: Xtext .mydsl model as input model for M2M transformations [message #719114 is a reply to message #719072] Fri, 26 August 2011 06:03 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi, doesnt this work out of the box since it is an emf based model just with an non xmi persistence? Regards Christian

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext .mydsl model as input model for M2M transformations [message #719130 is a reply to message #719114] Fri, 26 August 2011 07:20 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
It does indeed.
Re: Xtext .mydsl model as input model for M2M transformations [message #719156 is a reply to message #719072] Fri, 26 August 2011 08:36 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
It works if the m2m framework uses plain EMF APIs only and does not rely
on additional (spooky) frameworks such as EMF Transactions. In this case
some more work may be required (see chapter on EMF Integration in the
Xtext docs).

Am 26.08.11 02:11, schrieb lmcduarte:
> Hi all!
> I'm new with xtext and i made a quick search here and did not found
> something that realy helped me..so this tread...
> I have a xtext dsl created with .test extension, it is possible and if
> so how, to use my.test as input model on any M2M transformation with
> other models usin atl or mof?
> The ideia is to take the dsl text entry saved on a file and then use
> this file in others model to model transformation... If it's not do i
> have other options to do this?
>
>
> Thanks anyway, and sory for this noob thread!


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Thu Apr 25 05:01:52 GMT 2024

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

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

Back to the top