[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.emft] [EMF compare] merging explanation

Hi

After some time searching for good model comparison software I came across EMF compare. From what I have seen so far it is really a great piece of work but sadly the documentation could not answer all of my questions. I hope that you can fill these gaps.

I had no problems with matching elements and using the difference engine to get a match- and diffmodel (I used the standalone example and EMF models). I understand how this works but after these steps I want to merge both models. This seems to be a very tricky part.

So my actual question is: what happens when calling MergeService.merge(....) ? Does this really merge the left and the right model (according to the Boolean parameter and the diffs), are these changes also stored in the ResourceSet? Does merge use the diffs and the two models in the resource set?

Is it possible to store the diff-/matchmodels and apply the changes later, without loading both models but only one of them? Like: Store the snapshot, store the left model; two days later apply the merging on he left model (the right model was deleted). Is this possible?

I hope my questions are not too confusing
Thanks for your attention,
Best regards
 Philipp