Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Profile migration
Profile migration [message #878403] Tue, 29 May 2012 08:37 Go to next message
Arnaud Lehmann is currently offline Arnaud LehmannFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

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 ?

thanks in advance for your answer

Arnaud
Re: Profile migration [message #878411 is a reply to message #878403] Tue, 29 May 2012 08:53 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hello Arnaud,

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.


Camille


Camille Letavernier
Re: Profile migration [message #878420 is a reply to message #878411] Tue, 29 May 2012 09:14 Go to previous message
Arnaud Lehmann is currently offline Arnaud LehmannFriend
Messages: 2
Registered: July 2009
Junior Member
Thanks Camille for your quick answer,

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
Previous Topic:How to create a new lang in OpaqueAction default list
Next Topic:Papyrus and manipulation
Goto Forum:
  


Current Time: Thu Apr 25 02:06:49 GMT 2024

Powered by FUDForum. Page generated in 0.03009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top