Skip to main content
Jump to: navigation, search

Difference between revisions of "Profile migration"

Line 7: Line 7:
 
=Actions to tackle=
 
=Actions to tackle=
 
* Compare profile before and after modification to get evolutions of this profile. to do this we will use [https://www.eclipse.org/emf/compare/ EMF compare]
 
* Compare profile before and after modification to get evolutions of this profile. to do this we will use [https://www.eclipse.org/emf/compare/ EMF compare]
* Code migration action for each type of evolution of the profile
+
* Code migration action for each type of evolution of the profile ([[Papyrus/Photon Work Description/Usability/Profile migration/Migration actions |List of migration actions]])
  
 
=Bugs=
 
=Bugs=
 
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=525483 Bug 525483] - Profile changes management and model migration
 
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=525483 Bug 525483] - Profile changes management and model migration

Revision as of 04:30, 21 December 2017

Context

When a profile change we have to reapply it in all models whose apply it. This action of simply reapply this profile could lose some information and the model can become invalid.

Proposition

A new tool which will allow to migrate a profiled model when the profile evolve. This means that it will reapply the profile and ask the user some action to modify the model according to the modification of the profile. For example, if a stereotype becomes abstract then we will ask the designer if he wants to replace the abstract stereotype by a specification of this stereotype.

Actions to tackle

  • Compare profile before and after modification to get evolutions of this profile. to do this we will use EMF compare
  • Code migration action for each type of evolution of the profile (List of migration actions)

Bugs

  • Bug 525483 - Profile changes management and model migration

Back to the top