Hello,
I have a small generated ecore model (source is a xsd file) and want to compare two files. For testing proposal I changed the value of processName in the xml file:
<pd:activity name="ctx_load">
<pd:x>280</pd:x>
<pd:y>141</pd:y>
<config>
<processName>/SERVICES2/Ctx/ctx_load.process</processName>
</config>
<pd:inputBindings>
...
I have already replaced the config EReference on type EObject with an own EClass having an attribute any.
I found in the EMF Compare FAQ http://wiki.eclipse.org/EMF_Compare_FAQ#Custom_data_types_are_always_marked_as_modified_by_EMF_Compare, but I can't solve my problem with it.
I think to replace the matcher isn't the right way. A custom DiffEngine gets already two matches, in my opinion it is incorrect.
I checked the EqualityHelper and it recognizes and matches the change.
Could it be possible that the comparer can't handle anytype correctly?
I has reviewed both differences and noticed the states DELETE (for the new value) and ADD (for the old value).
Thanks for any hints.
[Updated on: Fri, 09 August 2013 05:35] by Moderator