Marte profile( Papyrus problem) [message #1739626] |
Wed, 03 August 2016 11:31 |
Raoudha Saida Messages: 41 Registered: June 2016 |
Member |
|
|
Hi,
I can't apply marte profile too.
I followed these steps:
1) New>papyrus project
I give the name of the project, next I choose Profile.
2) New > papyrus model
I enter marte sources manually, using this link:
http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/tree/extraplugins/marte/org.eclipse.papyrus.marte.static.profile/resources?id=8c0a29c3e4b19676126faf9e13e7029bf02d1a06&h=master
For step 1) , I used marte.profile.di, marte.profile.notation, marte.profile.uml.
For ste 2) I used marte_Library.library.di, marte_Library.library.notation, marte_Library.library.uml.
For the test of this profile,
New> papurys project.
When I apply the profile from properties, I had the attached error .
I'm using eclipse Luna , java se development kit 8 update 92
Please can one help me? Thanks in advance
|
|
|
|
|
|
Re: Marte profile( Papyrus problem) [message #1739935 is a reply to message #1739881] |
Fri, 05 August 2016 18:19 |
|
Hi,
I works fine in my installation.
I did not used MARTE before, so
* I set up a fresh Papyrus 2.0.0 (Neon) with MARTE (just to test it)
* created a new Papyrus project
* chose UML
* pressed <next>
* gave the project a name
* pressed <next>
* in "Choose a profile to apply" I pressed "Browse registered profiles" and selected "MARTE"
In the project I am able to apply MARTE Stereotypes without any problems.
/Carsten
|
|
|
|
Re: Marte profile( Papyrus problem) [message #1740896 is a reply to message #1740876] |
Fri, 19 August 2016 15:28 |
|
OK, so you modify the MARTE profile itself. This gives me another guess what might be happened.
In Papyrus a profile must be released and registered to be applied. If you do not release and register a profile after a modification it will not be found.
Regards
Carsten Pitz
|
|
|
|
Re: Marte profile( Papyrus problem) [message #1740902 is a reply to message #1740898] |
Fri, 19 August 2016 16:07 |
|
When saving the profile the following pop up window appears.
After chhosing <yes> the Profile Definition window appears.
After that the profile is defined and can be used.
At least in my little PoC in which I modified the Unit Stereotype of the MARTE Foundations.
Regards
Carsten Pitz
|
|
|
|
|
|
|
|
|
|
Re: Marte profile( Papyrus problem) [message #1740921 is a reply to message #1740918] |
Fri, 19 August 2016 18:18 |
|
As I did. I created my own profile. Within the profile I imported the original MARTE packages to be modified using the UML package import mechanism. And created my own stereotypes based on the original MARTE stereotypes.
I include the project directories as ZIP archives.
Regards
Carsten Pitz
|
|
|
|
|
Re: Marte profile( Papyrus problem) [message #1741687 is a reply to message #1741684] |
Sat, 27 August 2016 14:43 |
|
Quote:Why you do the import of MARTE profile within the new created profile?
I do not know if it is strictly required, but I find it helpful as annotation. It documents which packages are altered.
Quote:I couldn't find the option "using the UML packages import mechanism"
Could you help me please.
Ups, that feature is well hidden
Right click on the profile's enntry within the model explorer. Choose "New Child". In the "New Child" dialog choose "Package import".
Open the "Properties" view on the newly created package import. Choose the "Advanced" tab (on the left side of the view's window). Then edit the "Imported Package" to point to the package to be imported.
/Carsten
[Updated on: Sat, 27 August 2016 14:44] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.17710 seconds