Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: [email protected] on March 12, 2016, 03:11:34 am

Title: Using MARTE in EA
Post 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.
Title: Re: Using MARTE in EA
Post by: qwerty on March 12, 2016, 03:22:21 am
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.
Title: Re: Using MARTE in EA
Post by: [email protected] on March 15, 2016, 03:14:17 am
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?
Title: Re: Using MARTE in EA
Post by: qwerty on March 15, 2016, 03:51:17 am
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.
Title: Re: Using MARTE in EA
Post by: plieber on May 28, 2019, 04:42:26 pm
MARTE profile will be part of EA15 (and is already part of EA15 beta)