Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Eclipse Modeling Guided Tour - EMF Compare

420 vues

Publié le

A brief introduction to EMF Compare used to integrate modeling tools with SCM (Git...)

Publié dans : Technologie
  • Identifiez-vous pour voir les commentaires

  • Soyez le premier à aimer ceci

Eclipse Modeling Guided Tour - EMF Compare

  1. 1. ©Copyright2017Obeo A Guided Tour of Eclipse Modeling, Monday, October 23, 2017 Compare and Merge Your EMF Models
  2. 2. ©Copyright2017Obeo What is EMF Compare? A highly-customizable model-based framework to compare EMF models An integrated tool to visualize and merge differences between EMF models Diff and merge at the model level ! ... and forget XMI files textual differencing 
  3. 3. ©Copyright2017Obeo Main features Comparison with Local or Remote models Integration with Egit Differences management Preview Grouping (kind, side, resource) Filtering Conflicts Text attribute comparison Specific actions for String-typed differences
  4. 4. ©Copyright2017Obeo Visual Differencing Implementations for Papyrus and Sirius (experimental)
  5. 5. ©Copyright2017Obeo 2 Supported merging strategies Two-way diff & merge Three-way diff & merge v1 V1.b v2 V1.a Diff & Merge V1.b v2 V1.a Diff & Merge
  6. 6. ©Copyright2017Obeo How it works ? Build logical models from physical resources that form a complete and consistent in-memory model Map together corresponding model elements from the input models (2 or 3), using ID (Fast) or even without using heuristics and graph matching (Slow) Identify differences between matching elements (value of properties, number of relationships) Interpret the kind of changes: Equivalences: changes result to the same state Requirements: merging requires other model elements Conflicts: changes can’t be resolved Obtain one single model Resolve Match Diff Analyse Merge
  7. 7. ©Copyright2017Obeo Highly Customizable Match Engine Match Strategy Weight Provider Diff Engine Feature Filter Equivalence Engine Requirements Engine Conflict Detector Merger Post-Processors Create domain-specific comparators! Match Diff Analyse Merge
  8. 8. ©Copyright2017Obeo Scaling to millions Support comparisons of large fragmented models. Only loads the fragments susceptible to have changed Parallel loading and processing Fast differences computing along with an optimal memory footprint Comparison execution is proportional to the number of differences
  9. 9. ©Copyright2017Obeo Scaling to millions Support comparisons of large fragmented models. Only loads the fragments susceptible to have changed Parallel loading and processing Fast differences computing along with an optimal memory footprint Comparison execution is proportional to the number of differences
  10. 10. ©Copyright2017Obeo UML and Papyrus Customization Logical Model Resolver Match Engine Match Strategy Weight Provider Diff Engine Feature Filter Equivalence Engine Requirements Engine Conflict Detector Merger Expand the comparison scope to include Papyrus specific models. Match using XMI-Ids. Abstract some differences by grouping it to make it easier to grasp for the end users Add specific requirements and equivalences between diffs to enforce UML specific consistency rules. Provide specific merges to adapt the graphical notation model when changes are merged And also : UI related tweaks (dedicated filters...) Resolve Match Diff Analyse Merge
  11. 11. ©Copyright2017Obeo Compare and Merge Your EMF Models Easy Extensible Scalable www.eclipse.org/emf/compare

×