Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Papyrus-RT/ProfileUpdate"
(Created page with "Here are the steps to update the UML-RT profile and its addendum UMLRT StateMachines ==Update the profile itself== It is located in the plugin org.eclipse.papyrusrt.umlrt.pro...") |
|||
Line 12: | Line 12: | ||
#Update the tests on the profile | #Update the tests on the profile | ||
− | == | + | ==Update dependencies== |
#Update all version numbers for Plugin and dependencies (search and replace is the working solution for now) for Profile plugin | #Update all version numbers for Plugin and dependencies (search and replace is the working solution for now) for Profile plugin | ||
+ | #Update the validation plugin | ||
+ | ##DSML Validation extra from Papyrus should be installed | ||
+ | ##Open the Profile Di files with Papyrus | ||
+ | ##Right click on the root profile > Generate validation plugin for this profile | ||
+ | ##Check the plugin.xml has only correct changes |
Revision as of 04:00, 9 December 2015
Here are the steps to update the UML-RT profile and its addendum UMLRT StateMachines
Update the profile itself
It is located in the plugin org.eclipse.papyrusrt.umlrt.profile.
- Edit the *.profile.di file, and do the changes there. Ensure you have the validation profile annotation loaded (Profile selected > Property view > Applications > loaded)
- Ensure the profile validates
- Save and do not generate a definition. These are static profiles, no need to define them to use them
- Reload the genmodel files (Right click > Reload... > OK (etc...)
- Generate static profile code from the genmodels root (open the gen model file > generate model code)
- (Optional) Modify the URI of the profile in the plugin.xml if you made an uncompatible change (as removing a stereotype or a property). Adding elements is not considered as being uncompatible.
- Update profile plugin version number
- Update the tests on the profile
Update dependencies
- Update all version numbers for Plugin and dependencies (search and replace is the working solution for now) for Profile plugin
- Update the validation plugin
- DSML Validation extra from Papyrus should be installed
- Open the Profile Di files with Papyrus
- Right click on the root profile > Generate validation plugin for this profile
- Check the plugin.xml has only correct changes