Book a Demo

Author Topic: How can I copy a directory in the model?  (Read 3776 times)

gazxfe

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How can I copy a directory in the model?
« on: August 07, 2006, 03:21:37 am »
How can i copy a directory in the model?(including its subdirectories and elements)
« Last Edit: August 07, 2006, 03:22:00 am by gazxfe »

TomO

  • EA Administrator
  • EA User
  • *****
  • Posts: 80
  • Karma: +7/-0
  • EA - Bridging the gap between Business and IT
    • View Profile
    • Sparx Systems
Re: How can I copy a directory in the model?
« Reply #1 on: August 07, 2006, 07:19:21 pm »
Quote
How can i copy a directory in the model?(including its subdirectories and elements)



Hello gazxfe,
The best way to do this currently in EA is to export the directory to XMI and import it again under a new directory. This can be done multiple times in the same project or a completely different project all together.

The advantage of doing it this way is you get a form of versioning as one package can be developed to a point, saved as "Version1" Exported --> Imported, renamed to Version2 and then development proceeds from where Version1 ended.

To do this right click on the package you wish to copy --> Select Import/Export --> Export Package to XMI

I hope this answers your question.

Best Regards

TomO

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How can I copy a directory in the model?
« Reply #2 on: August 07, 2006, 08:02:43 pm »
Just to add a bit to Tom's post.

When doing the Import make sure that you check "Strip GUID's" on the import.  Otherwise if the original package exists EA will report an error and not import the package.

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: How can I copy a directory in the model?
« Reply #3 on: August 08, 2006, 12:38:17 am »
Quote
check "Strip GUID's"

I knew it should have been working. Thanks simon
Jan 'Bary' Glas

gazxfe

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: How can I copy a directory in the model?
« Reply #4 on: August 08, 2006, 08:10:41 pm »
Thank You!