Book a Demo

Author Topic: quickest and easiest way to duplicate a package  (Read 4363 times)

fluxtah

  • EA User
  • **
  • Posts: 144
  • Karma: +0/-0
    • View Profile
quickest and easiest way to duplicate a package
« on: May 25, 2004, 10:06:19 am »
I want to copy all the classes in a package, to another package and copy all the class relationships along with it, is there a quick easy way to do this?

regards

Ian

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: quickest and easiest way to duplicate a packag
« Reply #1 on: May 25, 2004, 10:39:43 am »
Export the package to XML and import it elsewhere.

Bruno

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: quickest and easiest way to duplicate a packag
« Reply #2 on: May 25, 2004, 04:07:26 pm »
I you want to create the copy in the same branch you will either have to rename the source package before importing or temporarily import it elsewhere and drag it to the branch.

[glb]Dont forget to generate new GUIDs on the import![/glb]

Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

fluxtah

  • EA User
  • **
  • Posts: 144
  • Karma: +0/-0
    • View Profile
Re: quickest and easiest way to duplicate a packag
« Reply #3 on: May 25, 2004, 04:20:14 pm »
Cool, it's actually a fully attributed up domain model I want to evolve into a class diagram, I think I might copy the eap and then get the new model into a state where I can forward engineer it, all I have to do is take out tons of white space between class name text and attribute text.

Then I can reverse engineer it back into my original eap file :)

cheers

Ian