|[EMF Compare] Cross-references not added during merge, bug? [message #892666]
||Fri, 29 June 2012 05:22
| Oskar van Rest
Registered: February 2012
I'm using the StatisticBasedSimilarityChecker for comparing model A (the new one) and B (the old one).
Somehow, after I do a merge, not all cross-references from A show up in B. In particular, it only happens when a new EObject is added to A and this new EObject has one or more cross-references. What happens after a merge is that B contains the new EObject, but without the cross-references. When I do a second match/diff/merge, the cross-references suddenly do show up (because model B now contains the EObject with the cross-references).
I don't have this problem if I use the EcoreIDSimilarityChecker or the XMIIDSimilarityChecker (by changing the MatchOptions). However, I can't use these two in my situation.
Is this a bug? What can I do to work around it?
Powered by FUDForum
. Page generated in 0.01684 seconds