Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EMF Compare"

(Team)
Line 7: Line 7:
 
EMF Compare brings model comparison to the EMF framework, this tool provides generic support for any kind of metamodel in order to compare and merge models. The objectives of this component are to provide a stable and efficient generic implementation of model comparison and to provide an extensible framework for specific needs.  
 
EMF Compare brings model comparison to the EMF framework, this tool provides generic support for any kind of metamodel in order to compare and merge models. The objectives of this component are to provide a stable and efficient generic implementation of model comparison and to provide an extensible framework for specific needs.  
  
= Overview =
+
= Links =
  
[[Image:EMF Compare Process Full.png|thumb|center|800px]]
+
* The main [http://www.eclipse.org/emf/compare project page].
 
+
* The [http://www.eclipse.org/forums/index.php/f/164/ forum](also available via NNTP as news://news.eclipse.org/eclipse.modeling.emf).
The above figure represents the comparison process of EMF Compare. It can be roughly divided in 6 main phases.
+
* The [http://git.eclipse.org/c/emfcompare/org.eclipse.emf.compare.git source code].
; Model Resolving
+
* The [http://www.eclipse.org/emf/compare/doc/21/ documentation].
: From a given "starting point" (the file a user decided to compare), finding all other fragments required for the comparison of the whole logical model.
+
** [http://www.eclipse.org/emf/compare/doc/21/overview/Overview.html Overview]
; Matching
+
** [http://www.eclipse.org/emf/compare/doc/21/user/EMF%20Compare%20User%20Guide.html EMF Compare User Guide]
: Iterating over the two (or three) loaded logical models in order to map elements together two-by-two (or three-by-three). For example, determine that class ''Class1'' from the first model corresponds to class ''Class1''' from the second model.
+
** [http://www.eclipse.org/emf/compare/doc/21/developer/EMF%20Compare%20Developer%20Guide.html EMF Compare Developer Guide]
; Differencing
+
** [http://www.eclipse.org/emf/compare/doc/21/faq/FAQ.html FAQ]
: The matching phase told us which elements were matching together. The differencing phase will browse through these mappings and determine whether the two (or three) elements are equal or if they present differences (for example, the name of the class changed from ''Class1'' to ''Class1''').
+
* The [https://bugs.eclipse.org/bugs/buglist.cgi?classification=Modeling&query_format=advanced&product=emfcompare&list_id=7339794 Bugzilla].
; Equivalences
+
: The differencing phases detected a number of differences between the compared models. However, two distinct differences might actually represent the same change. This phase will browse through all differences and link them together when they can be seen as equivalent (for example, differences on opposite references).
+
; Requirements
+
: For the purpose of merging differences, there might be dependencies between them. For example, the addition of a class ''C1'' in package ''P1'' depends on the addition of package ''P1'' itself. During this phase, we'll browse through all detected differences and link them together when we determine that one cannot be merged without the other.
+
; Conflicts
+
: When we're comparing our file with one from a Version Control System (CVS, SVN, Git, Clearcase...), there might actually be conflicts between the changes we've made locally, and the changes that were made to the file on the remote repository. This phase will browse through all detected differences and detect these conflicts.
+
 
+
 
+
The Model resolving phase itself can be further decomposed in its own two distinct phases. More on the logical model and its resolution can be found on [[EMF_Compare/Logical_Model|the dedicated page]].
+
[[Image:EMF Compare Model Resolving.png|thumb|center|800px]]
+
 
+
= Compatibility  =
+
 
+
The EMF Compare development team does its best to maintain downward compatibility towards Galileo (3.5). Following is the compatibility chart :  
+
 
+
{| border="1"
+
|-
+
! EMF Compare
+
! bgcolor="#cccccc" | Eclipse 4.3 - EMF 2.9
+
! Eclipse 4.2 - EMF 2.8
+
! Eclipse 3.8 - EMF 2.8
+
! Eclipse 3.7 - EMF 2.7
+
! Eclipse 3.6 - EMF 2.6
+
! Eclipse 3.5 - EMF 2.5
+
! Eclipse 3.4 - EMF 2.4
+
! Eclipse 3.3 - EMF 2.3
+
! Eclipse 3.2 - EMF 2.2
+
|-
+
| bgcolor="#cccccc" | 2.1
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
|-
+
| 2.0
+
|
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
|-
+
| 1.3
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
|-
+
| 1.2
+
|
+
|
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" | 
+
| style="text-align:center; background:#9d261d; color:white" |
+
|-
+
| 1.1
+
|
+
|
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" | 
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" | 
+
| style="text-align:center; background:#9d261d; color:white" |
+
|-
+
| 1.0
+
|
+
|
+
|
+
|
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#46a546; color:white" |
+
| style="text-align:center; background:#9d261d; color:white" |
+
|}
+
 
+
An empty cell indicates that the compatibility hasn't been tested for a particular combination.
+
  
 
= Team  =
 
= Team  =

Revision as of 12:27, 30 October 2013


EMF Compare
Website
Download
Community
Mailing List
Forums
Bugzilla
Open
Create New
Contribute
Browse Source


The EMF Compare project is part of EMF (Eclipse Modeling Framework).

Emf logo.png

EMF Compare brings model comparison to the EMF framework, this tool provides generic support for any kind of metamodel in order to compare and merge models. The objectives of this component are to provide a stable and efficient generic implementation of model comparison and to provide an extensible framework for specific needs.

Links

Team

The project developers are:

  • Cédric Brun (Obeo), project lead
  • Laurent Goubet (Obeo)
  • Mikaël Barbero (Obeo)
  • Cédric Notot (Obeo)
  • Axel Richard (Obeo)

More information about the code aspects and activity of this project can be found on the project page

Back to the top