[EMF Compare] Ignore order in EMFCompare [message #1046737] |
Mon, 22 April 2013 05:49  |
Eclipse User |
|
|
|
I'm comparing ecore models and the following example returns an EMF Compare move. In the following example I move the name Attribute. The same happens when I change the order of the classes in the ecore model.
original code:
<eClassifiers xsi:type="ecore:EClass" name="Author">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="test" eType="#//Book" eOpposite="#//Book/test"/>
</eClassifiers>
moved "name" element
<eClassifiers xsi:type="ecore:EClass" name="Author">
<eStructuralFeatures xsi:type="ecore:EReference" name="test" eType="#//Book" eOpposite="#//Book/test"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
They are not breaking the generated code. Is it possible in EMF Compare to set these changes to be ignored?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03183 seconds