Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF Diff/Merge » Is there any sample/tutorial to introduce how to write a diff/merge service
Is there any sample/tutorial to introduce how to write a diff/merge service [message #1768918] Tue, 25 July 2017 02:51 Go to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
To whom it may concern,

Now, I want to implement a service (not a GUI), which can auto merge two instance model into one, these two model is based on the same meta-model.

Is there any detail sample/tutorial to introduce how to write a diff/merge service, as detail as possible.

I have already find a simple sample to study, but I am not sure is it a possible to implement a auto-merge tool with EMF diff/merge, triggered by a command?

Thanks A Lot.

[Updated on: Thu, 27 July 2017 01:35]

Report message to a moderator

Re: Is there any sample/tutorial to introduce how to write a diff/merge service [message #1769355 is a reply to message #1768918] Sun, 30 July 2017 20:32 Go to previous message
Olivier Constant is currently offline Olivier ConstantFriend
Messages: 106
Registered: January 2012
Senior Member
Hi,

About how to implement an automatic diff/merge: you may have a look at: https://wiki.eclipse.org/EMF_DiffMerge/Programmatic_Usage, skipping the sections about the GUI of course.
About how to run it from a command line: you need to call the automatic diff/merge from within a "headless Eclipse Application". You may google this topic or have a look for example at:
http://wiki.ptidej.net/doku.php?id=headless_eclipse
https://www.eclipse.org/forums/index.php/t/791916/
http://www.sable.mcgill.ca/ppa/tut_4.html
Previous Topic:EMF Compare Performance
Next Topic:Coevolution with an existing project & Rule used twice in the same bridge.
Goto Forum:
  


Current Time: Thu Mar 28 09:56:47 GMT 2024

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

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

Back to the top