[Resolved] [EMF Compare] Comparing references from different MetaModels [message #758492] |
Wed, 23 November 2011 13:02 |
pro.kyon Messages: 6 Registered: October 2011 |
Junior Member |
|
|
Hello all,
I'm trying to facilitate the EMF Compare (Eclipse Indigo SR1) functionality to compare my domain-specific models. However, I've been running into problems while comparing references that point to types in meta model instances of another meta model. Namely, EMF Compare seems to ignore those references.
My setup is like this:
Meta Models:
mm1.ecore
[P] mm1
[C] Class1
[A] name : String
[R] class2Ref : Class2 (0..1) <--- Reference to mm2
[C] MM1Classes
[R] classes : Class1 (0..*)
mm2.ecore
[P] mm2
[C] Class2
[A] name : String
[C] MM2Classes
[R] classes : Class2 (0..*)
Now, if I create one mm2 instance, with two "Class2" objects, say "A" and "B", and two mm1 instances ("1.mm1", "2.mm1") , each one having exactly one "Class1" object, but different references to "A" and "B", then EMF Compare shows no changes if I compare the two mm1 models, regardless of whether I select "Selected Resources only" or "Complete resource sets".
Does anyone know how to solve this problem?
The meta models, models and comparison screen shots are included in the attachments.
Thanks for your time
Regards
[Updated on: Tue, 13 December 2011 13:10] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03634 seconds