Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] Understanding EMF Compare
[EMF Compare] Understanding EMF Compare [message #621356] Fri, 04 September 2009 21:34
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hello all Comparer,

i'm a newbie to EMF Compare and i want to understand this great stuff. I
have a model with four elements

Element:Root
PrimitiveType{name=Integer}
PrimitiveType{name=Real}
PrimitiveType{name=Boolean}
PrimitiveType{name=String}

Than, i create another similiar model like this

Element:Root
PrimitiveType{name=Integer}
PrimitiveType{name=Double}
PrimitiveType{name=Boolean}
PrimitiveType{name=String}

Only the Real value changed to Double. After merging these two models,
the resulting models is exactly the second model. I've introspected the
DiffModel and a Update difference was detected.

What i want the merge algorithm to do is to copy the new double
primitive type into the existing model, so that five primitive types are
contained in the root instead of four. So, for me a general questions
has raised:

Is it possible to build the diff of these two models and than just copy
the missing elements into the left model? I didn't want to get the
models merged entiredly in the end.

And how did EMF Compare indicated that two instances are "equal"?

Thx
Timothy
Previous Topic:[EMF Compare] Custom Match Engine
Next Topic:[EMF Compare] Understanding EMF Compare
Goto Forum:
  


Current Time: Fri Mar 01 15:52:51 GMT 2024

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

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

Back to the top