Book a Demo

Author Topic: Migration RSA --> EA  (Read 5781 times)

MoMo

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Migration RSA --> EA
« on: December 10, 2007, 02:05:53 am »
Hello

  i have several diagrams in Rational software architect that i want to migrate to EA.

  the problem is that the Z-order of the packages and elements is not respected when i do an import EMX files in EA.

 there is a known issue for this problem ?

thanks

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Migration RSA --> EA
« Reply #1 on: December 10, 2007, 04:28:36 am »
MoMo,

This is a new one to me - but that only means that I haven't noticed it, not that it hasn't been there the whole time...

Does the EMX file contain the Z-order information? [If it does not, at least in some easily identifiable form, then this is likely a lost cause.]

If it does, then you might be able to write a short automation routine to handle this. Something of a post-processor. The routine could iterate through the diagrams in either EA or the EMX file - whichever is easiest, as long as you visit them all - and capture the Z-order of each element from the EMX side. Then it could 'renumber' the DiagramObjects on the EA side. It sounds like a bit of work, but it would likely go pretty quickly with .Net or Java, or any other language with good regular expression handling.

Perhaps you should submit a feature request or bug report to Sparx - depending on how you view this issue. Use the appropriate link from any forum page. You'll find both links below the Support link at the bottom of any forum page.

Quote the title of this thread, and the thread's URL into your comments when you make the report. This will allow Sparx to participate in this discussion, and perhaps suggest solutions.

Please also let us here in the form know what you learn from Sparx, if anything.

HTH, David
No, you can't have it!

MoMo

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Migration RSA --> EA
« Reply #2 on: December 10, 2007, 01:07:13 pm »
Hello David,
I found two problems when I import from an EMX file

1- The Z-order is not respected : hopefully I could solve that with a LIFO stack(using an automation routine)  because the z-order was inversed

2- The most important problem is that notes are missing in the diagrams. I looked in the emx file, and it contains the notes information. Here also I’m thinking to write an automation routine but it wouldn’t be that easy because the notes are linked to associations or/and objects and also I have to define their positions, height and width in diagrams.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Migration RSA --> EA
« Reply #3 on: December 10, 2007, 01:11:34 pm »
There has been some effort for increased compatibility with EMX files, so I'd recommend sending an email to sparx support (preferably with a sample xmi).  I'd say you have a good chance at least with the z-order.