Book a Demo

Author Topic: Import multiple packages using XMI  (Read 2773 times)

S. MAINIL

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Import multiple packages using XMI
« on: November 10, 2011, 12:57:59 am »
Hi all,

I am testing EA and I am facing a problem.

Our users are currently using an other UML tools. They export me their packages in one single XMI file.
But when I import it in EA, only the first package is created.
Is there a way to import the whole packages contained in the XMI file?

Thanks for your help

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Import multiple packages using XMI
« Reply #1 on: November 10, 2011, 05:14:28 pm »
Just make sure you also export the owning package of all those packages.

If your xmi file contains
package Root
  package A
  package B

I'm sure that will be imported just fine.
I can imagine EA having troubles trying to import an xmi file that has multiple "root" packages. (not sure what the xmi standard says about that)

Geert
« Last Edit: November 10, 2011, 05:14:47 pm by Geert.Bellekens »

S. MAINIL

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Import multiple packages using XMI
« Reply #2 on: November 10, 2011, 10:08:25 pm »
I created a root package, owner of all of my packages and the import worked fine.

Thanks for your help Geert.