Best practices regarding profiles used in multiple projects [message #1235364] |
Fri, 24 January 2014 01:42  |
Eclipse User |
|
|
|
I have read the (excellent) "PAPYRUS USER GUIDE SERIES About UML profiling, version 1.0.0" document and I have worked for some time now with a couple of homegrown profiles.
In the beginning I had the profile(s) in a separate project because I believed that was the way to do it, and the examples en the document also suggests this. But when updating the profile I lost already applied stereotypes, and then I found that if I stored the profile in the same project as the models where it is applied it worked.
I also along the work got a reply on another related issue stating that an update to Papyrus 0.1.0 would fix some related issues, but I never thought about/dared moving the profiles out again because I didn't want to affect my delivery scheme.
Now I simply would like to confirm (before I start messing things up) that there are no issues in having profiles in a separate project?
Also, in general, is there anything in the mentioned document that actually does not work? One thing I know is that I have had problems with adding icons and in the document it seems to be working alright.
Regards,
Tomas Sandkvist
|
|
|
|
Re: Best practices regarding profiles used in multiple projects [message #1238139 is a reply to message #1235364] |
Fri, 31 January 2014 08:59   |
Eclipse User |
|
|
|
There are several issues in refactoring.
1) If you need to rename the 3-tuple <di, notation, uml> in project explorer right click rename on "model" object, papyrus gives you an error "being not able to
refactor the UML metamodel" why is it trying to refactor the uml metamodel?
i can not give the exact error message because i had to refactor all three files manually.
2) After refactoring a profile which a model is depending on, working on the depending model and trying to save the dependent model, you get the funny dialog,
which informs you about bad things are happening:
"Some resources used by the model <dependentmodelname> have changed. Do you want to reopen the current editor? Unsaved changes will be lost?"
So what now? Ok or cancel? cancel brings the same dialog, after 3 clicks on cancel the file is saved, the editor is not closed and reopened, but if i lost something?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03270 seconds