Migrating projects (models and profiles) from Eclipse Indigo to Eclipse Luna [message #1697435] |
Wed, 03 June 2015 17:45  |
Eclipse User |
|
|
|
Hello everybody
I wanted to import projects (UML diagrams and profiles) developed in Papyrus running in Eclipse Indigo to Papyrus on Eclipse Luna. I cannot longer sustain my Eclipse Indigo since it does not support Java 8.
My problem is that after importing in Eclipse Luna, I got error messages (Repair stereotypes) and the models built using my profiles are not displayed as I built them in Eclipse Indigo. Any suggestion to perform a proper migration?
Thanks for your help.
Tomás
|
|
|
Re: Migrating projects (models and profiles) from Eclipse Indigo to Eclipse Luna [message #1697465 is a reply to message #1697435] |
Thu, 04 June 2015 04:15   |
Eclipse User |
|
|
|
Hi Tomas,
The migration is supposed to be straight foward (Entirely automatic), although Papyrus Luna has a better detection for errors than Indigo. In Papyrus 0.8/Indigo, it was very easy to get "broken" stereotypes left in the model, e.g. when deleting some stereotyped elements. Papyrus 1.0/Luna will detect them and propose to clean them up.
Also, Papyrus Luna now integrates a notion of Themes (Through stylesheets) which didn't exist in Indigo. So the default appearance might have changed (e.g. Gradients and Element Icons are enabled by default, and elements are now blue instead of white). This can be solved by disabling the new default Theme, and using the "Black & White" one instead. To do that, go to Window > Preferences > Papyrus > CSS Theme > Select "Black & White". Not that the Theme is a user-specific preference and doesn't affect the model directly (Only how you see it). Different users can use different Themes with the same model.
HTH,
Camille
|
|
|
|
Re: Migrating projects (models and profiles) from Eclipse Indigo to Eclipse Luna [message #1697755 is a reply to message #1697719] |
Mon, 08 June 2015 04:05   |
Eclipse User |
|
|
|
Hi,
I can't help much with Acceleo, except that Papyrus Luna uses UML 2.5 whereas Papyrus Indigo uses UML 2.3, so you may need to change the source URI of your transformations.
Regarding Papyrus itself, what kind of issues do you have? Are you able to open your model, visualize your diagrams, find your profiles and stereotypes?
If you are using plug-ins to deploy your profiles and libraries, you should be aware that the Papyrus plug-ins (And extension points) have changed between Indigo and Juno, so you will probably also need to update them. Especially, "org.eclipse.papyrus.extensionpoints.uml2" became "org.eclipse.papyrus.uml.extensionpoints"
HTH,
Camille
|
|
|
|
|
Re: Migrating projects (models and profiles) from Eclipse Indigo to Eclipse Luna [message #1698669 is a reply to message #1698654] |
Wed, 17 June 2015 04:01  |
Eclipse User |
|
|
|
Hi,
Quote:Does this exception have anything to do with a broken imported model? Any hint will be useful. I appreciate your help.
It seems that Acceleo can't find one of your custom profiles. Since I'm not sure that Acceleo is able to properly handle UML Models Migration, you should try the following:
- Open your Profile model with Papyrus Luna
- Save it (To save it in Luna format)
- Open your profiled Model with Papyrus Luna
- Take any repair action that is required (Remove broken stereotypes, update profile applications, remove profile applications that don't exist anymore...)
- Save it
- Run the Acceleo transformation again
I don't really know how Acceleo works with custom profiles, but I think it relies on a separate runtime environment (Different from the one in which you open the model), so maybe it also needs some additional dependencies? Especially some dependencies to your custom profile(s)
HTH,
Camille
|
|
|
Powered by
FUDForum. Page generated in 0.05220 seconds