MARTE profile in uml format [message #987118] |
Fri, 23 November 2012 15:41 |
Kostas Triantafyllidis Messages: 15 Registered: November 2012 |
Junior Member |
|
|
Hello all.
I am using Eclipse Juno and Eclipse Helios with Papyrus plugin installed. In the past i was using the Papyrus stand alone for MARTE. It seems that this edition is old and so i decided to move forward. In the past by using the standalone Papyrus i have integrated couple of properties in some stereotypes of the MARTE profile which was in UML format and after i exported a customized MARTE profile that was fulfilling my needs. When i tried to integrate this profile as plugin, despite the fact that it seems to apply the stereotypes, when i put a value into some properties i receive error(s). I think that the problem is that the MARTE profile that i had used is old and so probably some hrefs have been updated during the time.
What i am looking for, is a UML version of the MARTE profile that Juno is using 0.9.1 or something in order to modify it as i want. I have searched through the web but i did not find something relative. After that i thought to make a new Papyrus project and create a new profile by importing the MARTE 0.9.1, but when i do that i am not able to customize the new properties i add. Is there any solution on my problem? How can i extend a the MARTE profile and export it as a new profile??
Thank you in advance for your time.
Regards,
Kostas
[Updated on: Fri, 23 November 2012 15:45] Report message to a moderator
|
|
|
|
|
Re: MARTE profile in uml format [message #988848 is a reply to message #988590] |
Mon, 03 December 2012 13:03 |
Kostas Triantafyllidis Messages: 15 Registered: November 2012 |
Junior Member |
|
|
Hello Camille,
I do not receive any error in the logfile so i do not really know what the problem could be.
In the meantime I have downloaded the source code of MARTE from this repository (http://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.papyrus/tags/0.9.1_SR1/extraplugins/marte/org.eclipse.papyrus.marte.static.profile )
The problem is that I receive the following error:
org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.uml2.uml.internal.impl.PropertyImpl@1308685 (name: hwResource, visibility: <unset>) (isLeaf: false) (isStatic: false) (isOrdered: false, isUnique: false, isReadOnly: false) (aggregation: none, isDerived: false, isDerivedUnion: false, isID: false)' is not legal. (platform:/resource/org.eclipse.papyrus.marte.static.profile/resources/MARTE.profile.uml, 4985, 29)
when I try to open the profile.uml. I used to receive the same error with .xmi version of MARTE. What i used to do in order to overcome this error was to delete the HWCommunication branch and the references to it. This although is not the ideal way to face the problem. Do you know why am I receiving the aforementioned error? Is there any way to overcome this by defining the structure in a different way?
[Updated on: Mon, 03 December 2012 13:04] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05406 seconds