Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to compare two xtext models
How to compare two xtext models [message #558598] Mon, 13 September 2010 15:52 Go to next message
John Locke is currently offline John LockeFriend
Messages: 23
Registered: July 2010
Junior Member
Hi together,

i am looking for an possibility to compare to different textual xtext models.
The comparison should look like EMFComapare for ecore models just in a textual representation.
Are there any solution for my problem?

Best regards,
John
Re: How to compare two xtext models [message #558600 is a reply to message #558598] Mon, 13 September 2010 15:58 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

the question is not quite clear to me.
(1) You want to use std Eclipse Text-Comparison which you can use out of the box?
(2) You want to use EMF Compare by adding your dsl to Window -> Preferences -> General -> Content Types -> EMF Compare?

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Mon, 13 September 2010 16:13]

Report message to a moderator

Re: How to compare two xtext models [message #558652 is a reply to message #558600] Mon, 13 September 2010 19:42 Go to previous message
Meinte Boersma is currently offline Meinte BoersmaFriend
Messages: 434
Registered: July 2009
Location: Leiden, Netherlands
Senior Member
It shouldn't be too difficult to create a grammar/DSL re-using (using an import and the returns-clause) the metamodel EMFCompare uses to express its ∆ in. Then you can pipe EMFCompare with the serializer for that DSL.


Previous Topic:Refactoring for xtextEditors
Next Topic:errors after regeneration...
Goto Forum:
  


Current Time: Sat Apr 20 02:11:41 GMT 2024

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

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

Back to the top