I have a model with an applied profile (the profile is packaged in a plugin). A new version of the profile is available, and I can see the message "MyProfile (has changed, consider re-applying profile)".
Is there a way to migrate the profile to its new version, without loosing all existing stereotypes ?
When re-apply the profile (i.e. without un-applying it), the migration should be automatic:
- Apply a profile and a few stereotypes on your model
- Change your profile, and re-define it
- Re-open your model ; the "Consider re-applying" warning will be displayed
- Click the apply profile button, and select your profile. You do not need to "un-apply" the profile beforehand (If you unapply it, you'll loose all your applied stereotypes)
All profile and stereotype applications should be replaced by their new version, as long as the tool can trace the modifications.
Last time I tried to do this, I had the two versions of the profile applied (xmlns:myprofile=.... and xmlns:myprofile_1=.... in the uml file).... but it is not the case now ! It was probably a wrong manipulation.
By the way, it works now ! Thanks again