How to compare more than two Eobjects using EMF compare [message #1410281] |
Wed, 20 August 2014 05:53  |
Eclipse User |
|
|
|
Hi All
I want to do EMF compare for more than two EMF models instance . ie EObjects.
it is like left and multiple rights.
As per my understanding we can create a match for one left eobject and one right eobject. but my use case is to create a match for one left eobject vs multiple ie list of right objects based on few attribute value.
is this is possible ?
I have one more basic question what are the main advantages of EMF compare
BR
Ramu
|
|
|
Re: How to compare more than two Eobjects using EMF compare [message #1410708 is a reply to message #1410281] |
Thu, 21 August 2014 08:37   |
Eclipse User |
|
|
|
Ramu,
EMF Compare allows you to compare two models together, or two along with their common ancestor (respectively two-way and three-way comparisons). The first allows you to see differences between two objects, while the second allows you to determine whether there are conflicting changes between the two wrt. their common ancestor.
A match only has three sides, corresponding to these two use-cases. If you need chain comparisons, you will have to make them one after the other, merging the left with the first right to create a second "(merged) left" to compare with the second "right", and so forth.
As for the bonus question, you'll have to explain what you expect before we can answer. Advantages of EMF Compare wrt. what? EMF Compare provides model comparisons integrated with Eclipse, supporting both EGit and Subversive and extensible for other SCMs...
Laurent Goubet
Obeo
|
|
|
|
Powered by
FUDForum. Page generated in 0.04853 seconds