Hi,
I started developing an MDG last year based on the fairly few and very rudimentary tutorials I found lingering the internet. Well, and a lot of help for here.
Now I wonder, how should you organize your MDG when it grows in size?
I have the following, simplified, set-up:
(package)Metamodel«profile»Metaclasses
«profile»SystemView
«profile»StrategicView
«profile»RequirementView
...
(package)Toolbox«profile»SystemView
«profile»StrategicView
«profile»RequirementView
(package)Diagram«profile»Diagram
In total I have around 200 stereotypes sorted in 7 different profiles in the profile package. The reason I have them divided is because of the amount and I felt it would be quite cumbersome to have it all in the same packge. This is though not without drawback. I will return to this later.
For example in the metaclass-profile I have sorted all the metaclasses I use to avoid having duplicates all over the place. The other profiles have each their own purpose and are fairly seperated, but not totally. I also uses several diagrams (1-5) for each profile.
The toolbox is also divided in several profiles matching the profiles the metamodel. At the moment I don't really know why, except to keep it tidy.
When I generate a new MDG version I do a "Save package as UML" in the project browser for each of the profiles (quite tedious if I have changed several, because of the not-so-smart file dialog not rembering the last used name of that profile).
The main problem I have with this setup is:
EA don't fully support connection betweens different profiles when generating UML profiles this way. Extensions are fine, but not generalizations. You can't generalize a stereotype from another profile, unless you create the UML profile from the diagram instead of the profile-package. With rougly different 20 diagrams I'm really not keen on generating profiles that way, not with the current file dialog forcing me change the name every time (you think it would learn after hundreds of times!

I wish we had some AI in EA... ).
I'm thinking about looking into the possibility to create one massive autogenerated diagram including everything - just to create the needed xml-file for the MDG-generator. Any ideas how to generate such a beast? I guess I could script such a function, if there is no more elegant (e.g. pre-developed) solution.
Any thoughs/comments? How do you do? And do you know of any help/hints for the more advanced MDG developer anywhere (the sparx website isn't really helpful at times)?
Cheers!