Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354621 - External EAnnotation.references fail to compare equal
Summary: External EAnnotation.references fail to compare equal
Status: CLOSED FIXED
Alias: None
Product: EMFCompare
Classification: Modeling
Component: Core (show other bugs)
Version: 2.7.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 09:43 EDT by Ed Willink CLA
Modified: 2011-08-18 04:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-08-12 09:43:59 EDT
(Maybe this is covered by your many M1 fixes, but it makes a good test case anyway.)

The following file and another file with identical content compare with two changes on the reference to the external EAnnotation.

<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="foo"
    nsURI="http://www.foobar.com/0.1" nsPrefix="amber">
  <eClassifiers xsi:type="ecore:EClass" name="Bar1">
    <eStructuralFeatures xsi:type="ecore:EReference" name="start" lowerBound="1" eType="#//Socket">
      <eAnnotations references="http://www.eclipse.org/emf/2002/Ecore#//ELong/%http:%2F%2F%2Forg%2Feclipse%2Femf%2Fecore%2Futil%2FExtendedMetaData% #//Bar1/start #/ #//Socket"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Socket"/>
</ecore:EPackage>
Comment 1 Cedric Brun CLA 2011-08-12 11:03:52 EDT
Thanks Ed,

I just tried with the current maintained streams (1.2 maintenance branch and master) and neither "per Resource" or "whole resourceSet" are detecting a change.

It has been fixed by the proxy/out of scope fixes we did the previous weeks. So far so good :)
Comment 2 Laurent Goubet CLA 2011-08-18 04:06:00 EDT
Closing our "resolved" and "verified" bugs.