Book a Demo

Author Topic: UML 2.0 Metamodel in EA  (Read 2667 times)

Mickey

  • Guest
UML 2.0 Metamodel in EA
« on: January 28, 2007, 12:16:03 pm »
Hello,

I absolutely desperately need a UML 2.0 Metamodel as an EA model, hoping to have EA generate some code from it.
OMG has it here http://www.omg.org/cgi-bin/doc?ptc/2004-10-05 only as a Rose model, and the mdl -> xmi -> eap trick didn't quite work for me (maybe done it wrong?)

Any suggestions would be greatly appreciated.
BTW, I've got EA 6.1.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: UML 2.0 Metamodel in EA
« Reply #1 on: January 28, 2007, 01:12:15 pm »
What exactly was your conversion process?  I've got a copy in EA 6.5 (after a fashion).  I wouldn't say it was perfect (by any means).  I, too, have been asking people to provide a better version (to no avail).

While it isn't perfect, it's good enough for the job I need it to do at present (arguing with the Sparxians about UML)  ;D.  So far, every diagram I've checked seems to agree with the relevant UML picture.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Mickey

  • Guest
Re: UML 2.0 Metamodel in EA
« Reply #2 on: January 29, 2007, 02:49:48 am »
Thanks for the answer. That's what I've done:
- opened the OMG's UML2-Super-MDL-041007.mdl file in Rose,
- exported to XMI 1.1 using the Unisys' Rose XML Tools plugin v1.3.6,
- started a new project in EA,
- used 'Import package from XMI' to pull it in.

Got HUGE lags on every click and a flat list of class diagrams in the project view. The list itself seems correct, but the diagrams contain just a huge mess of packages, unnamed, empty and with no dependencies visible.
That must be how transitive closure of related packages for a diagram looks like. Cute, but not quite what I wanted.

If I choose not to import (or export) diagrams in XMI, I get precisely no content at all.

Something wrong?
Or could you simply post/link/mail me the spec you've got bundled with 6.5 (if I got you right)?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: UML 2.0 Metamodel in EA
« Reply #3 on: January 29, 2007, 05:05:44 am »
Which version of Rose did you use? Did you pick up all the auxiliary files correctly?  I used 2002.  The model appears built with 2003 and so there were some issues.

Your process appears OK, though...  Did you get any diagrams lower down the hierarchy?

Send me an email off-line and I'll package up the model in a 6.5 EAP...

Paolo
« Last Edit: January 29, 2007, 05:07:19 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!