Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 229663 - Broken reference triggers a diff
Summary: Broken reference triggers a diff
Status: CLOSED FIXED
Alias: None
Product: EMFCompare
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 244000
Blocks:
  Show dependency tree
 
Reported: 2008-04-30 12:23 EDT by David Michonneau CLA
Modified: 2011-08-18 04:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michonneau CLA 2008-04-30 12:23:01 EDT
Let's consider two models A and B, both referring to C.

I have one instance of A and C in the same folder
I have one instance of B in another folder

The reference to C is relative to the same folder in both cases. Now it 
seems the diff engine consider that A and B are different, since the 
reference in B is not resolved. In fact A and B are similar, so I would 
think there should be no diff there. The fact that the reference is broken 
is something independent from the model content.

Something worse is that if I copy C in the folder where B is, I still get a 
diff on the C reference.
Comment 1 Laurent Goubet CLA 2008-05-22 11:34:40 EDT
Resolving inter-models references is planned for 1.0 ( http://wiki.eclipse.org/index.php/EMF_Compare#Roadmap )
Comment 2 Laurent Goubet CLA 2009-01-27 05:18:40 EST
Hi,

Bug #244000 has been partly fix and inter-model references will not be
accurately detected as differences when they truly changed, and won't display
any change when not. As stated on bug #244000, comment #3 , this will work
with local comparison and not yet with VCS.
Comment 3 Laurent Goubet CLA 2009-02-17 11:30:27 EST
Proxy resolution capabilities have been added to EMF Compare and will be available in the next build. We'll also be building a second feature "EMF Compare Subversive Integration" as subversive does not make use of the Team API as CVS does. Behavior of other VCS haven't been confirmed yet.

With these, cross-model references are now properly resolved to the accurate version according to the currently compared model revision.
Comment 4 Laurent Goubet CLA 2009-05-15 08:28:33 EDT
Correction available in 0.9.0M5
Comment 5 Laurent Goubet CLA 2011-08-18 04:06:11 EDT
Closing our "resolved" and "verified" bugs.