Book a Demo

Author Topic: Import Model from rational rose?  (Read 8434 times)

miki_f30

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Import Model from rational rose?
« on: April 03, 2006, 04:23:21 am »
how can i import model from rational rose (*.ptl,*.*.mdl) to EA?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Import Model from rational rose?
« Reply #1 on: April 03, 2006, 07:03:36 am »
Quote
how can i import model from rational rose (*.ptl,*.*.mdl) to EA?
You need to export via a Rose Unisys XMI export Add-In.

If you can sucessfully export then you can usually import sucessfully.

HTH,
Paolo

You may find more by searching on Unisys XMI
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

thomaskilian

  • Guest
Re: Import Model from rational rose?
« Reply #2 on: April 03, 2006, 01:50:33 pm »
... and in some threads on this board.

pierom

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Import Model from rational rose?
« Reply #3 on: April 11, 2006, 12:41:14 am »
Any idea where to download the XMI add-in?
I've found a link in IBM but the page has been removed.

Thanks and regards,

Pietro

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Import Model from rational rose?
« Reply #4 on: April 11, 2006, 03:56:54 am »
While you wait for the link to magically (or otherwise, but what's the chance of that?) reattach itself...

Here's a (perhaps very) long shot. If you're a Java person, and if you have Eclipse up, then take a look at:
http://update.xmlmodeling.com/updates/index.html

(Another) If I read it correctly this purports to be able to render an .mdl file into XMI. I don't know the dialect, but with any luck at all it can be imported into EA. After all, if they aren't simply importing the model directly, one might hope they are trying to maintain compatibility with the myriad tools out there that read Rose extracts, EA among them.

I used this thing a bit during its infancy, when I needed something that ran on Eclipse and read models from other tools - requirements a client imposed. At the time (quite a while ago) nothing really measured up so we abandoned the search and took another approach. I went back to EA and created translators. Since then EA has provided most of the functionality from the other side of the equasion (i.e. into versus from the Eclipse 'side' of things); meanwhile the client has adopted EA as their standard platform for a variety of reasons.

Still, if it gets you out of writing a custom XMI generation or import tool, go for it! I have written both, and truely appreciate the 'benefits' of any approach that avoids doing so again.

David
No, you can't have it!

thomaskilian

  • Guest
Re: Import Model from rational rose?
« Reply #5 on: April 11, 2006, 05:10:23 am »
Quote
Any idea where to download the XMI add-in?
I've found a link in IBM but the page has been removed.

Thanks and regards,

Pietro


There was something from Computer Associates that I used in my dark ages... I had to search a while for it, though.

Maarten

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Import Model from rational rose?
« Reply #6 on: April 12, 2006, 06:27:11 am »
Hi,
we made this transition more than a year ago. As mentioned in the other replies you need to install an xml AddIn in Rose which you can find at the following link: http://www-128.ibm.com/developerworks/rational/library/content/03July/2500/2834/Rose/rational_rose.html. You should download the following file: XMI Add-in 1.3.6 (updated 27-Aug-03, 4.8 MB).

I quickly checked my documentation about our transition. I noted that you need to move all your packages in Rose to the Logical View. Packages under another view are not always exported correctly. (I do not know if this is still applicable).

When you import the xml files in Enterprise Architect afterwards you will need a DTD-file. I think you will also find it in the downloaded zip-file. Be aware that the transition will have some side-effects. When you export the model from Rational Rose make sure you check the option to display "All warnings and errors" to have an idea of possible problems. I remember we encountered problems with derived attributes, "typeless" attributes, sequence diagrams, elements which were soft deleted from the model,... After importing the xml-files in Enterprise Architect you will discover additional issues: we had particluar problems with diagram lay-outs and visibility settings.

I do not want to discourage you but making the transition is not as simple as exporting xml files from Rose and re-importing them in Enterprise Architect. It will take some additional investigation.

Good luck,
Maarten