Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » Problem with merging multiplicity-many eOpposites
Problem with merging multiplicity-many eOpposites [message #1749158] Fri, 02 December 2016 12:47 Go to next message
Vlad Acretoaie is currently offline Vlad AcretoaieFriend
Messages: 95
Registered: April 2014
Member
Hi,

I am trying to resolve a merge conflict involving a multiplicity-many eOpposite reference. I would expect this to work out-of-the-box, since it seems that this case is implemented by the default equivalence engine (DefaultEquiEngine). However, the merge does not seem to work as expected.

Here are some details.

I have two classes (A and B), referring to each other by references A.b(1) and B.a(*). These references are eOpposites and non-containment. I then create a conflicting change on A.b. After resolving the conflict on A.b, I can see that the B.a reference is not updated.

Is this a known limitation of the DefaultEquiEngine? If so, do you have any suggestions for overcoming it?

Thanks in advance!

Vlad

Re: Problem with merging multiplicity-many eOpposites [message #1749165 is a reply to message #1749158] Fri, 02 December 2016 14:18 Go to previous messageGo to next message
Vlad Acretoaie is currently offline Vlad AcretoaieFriend
Messages: 95
Registered: April 2014
Member
Hi again,

After investigating a bit more, I think the root cause of my problem goes a little further. I am executing model merging twice, and it seems that the second time there is some information missing.

I will very likely open a new forum thread for this, but as of now it looks like the DefaultEquiEngine actually works as it should.

If possible, this thread should be deleted.

Cheers,
Vlad
Re: Problem with merging multiplicity-many eOpposites [message #1749299 is a reply to message #1749165] Mon, 05 December 2016 09:19 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
Hi,

We can't delete threads, but thanks for the heads up.

Laurent Goubet
Obeo
Previous Topic:EMF Compare tries to match an added/new element with existing one
Next Topic:EMF compare cannot compute model differences
Goto Forum:
  


Current Time: Mon Dec 02 15:04:04 GMT 2024

Powered by FUDForum. Page generated in 0.04040 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top