Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsChange in anyType field results into two differences found by comparison
https://www.eclipse.org/forums/index.php/mv/msg/501980/1082972/#msg_1082972
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:
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.]]>John M.2013-08-09T09:27:47-00:00Re: Change in anyType field results into two differences found by comparison
https://www.eclipse.org/forums/index.php/mv/msg/501980/1094550/#msg_1094550
John M.2013-08-25T22:44:06-00:00Re: Change in anyType field results into two differences found by comparison
https://www.eclipse.org/forums/index.php/mv/msg/501980/1102013/#msg_1102013
What would be your question here? You have two models with different values for one attribute (processName) but see no difference when comparing with EMF Compare, or you have two models with the same value for an attribute but see it detected as a delete/add by EMF Compare? In other words, what do you have, and what did you expect to get?
As a side note, EMF Compare 2 has known issues with feature maps handling, so you might have stumbled upon one of those.