Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: [email protected] on March 12, 2016, 03:11:34 am
-
I am trying to use the MARTE UML profile in EA but I have not succeeded so far.
I have been able to import the official MARTE profile XMI from http://www.omg.org/spec/MARTE/20100801 into EA. It seems to show up correctly although it does, of course, not contain any diagrams. The imported model shows a tree of nested packages and profiles as it is defined by the OMG standard.
At this point I got stuck. If I try to export this model as an EA profile it is simply empty. From the EA documentation I have learned that profiles in EA must not contain nested packages or profiles. So the structure of the imported MARTE model is obviously my first problem.
I have also moved some of the stereotypes and metaclasses to the top-level MARTE package. If I now export this package as a profile I can import it again and do, acutally, see some profile entries. But they do not show the correct name of the stereotypes. If I am not mistaken, EA is showing the next stereotype upwards in the MARTE generalization hierarchy.
Finally, I do not want to put all of the MARTE stereotypes, etc. into a flat package. There are just too many of them. I would like to keep them separated into multiple profiles. The EA documentation is mentioning that it is possible to store multiple profiles inside the same profile package. However, I cannot find any documentation how to correctly create such a setup.
I would appreciate any help on this.
-
I was able to create a profile from one of the sub-packages with no issue. It's probably a bit tedious to export all single profiles and make a MDG, but that's just laborious. It takes some effort to create an EA MDG, but it's likely possible to do so with the MARTE profile.
q.
-
I have been afraid that this is the answer ::)
Unfortunately, I am still not able to make it work completely. I have exported all leaf profile packages from the MARTE import and bundled them into an MDG technology package. However, when I import this MDG technology into another project and try to apply a stereotype from the MARTE profile to a model entity I only see a subset of the MARTE profiles in the selection dialog. Any ideas?
-
This depends on how you have created your MDG. When importing it via the Resources window you should see all the single profiles. Is that the case?
q.
-
MARTE profile will be part of EA15 (and is already part of EA15 beta)