Book a Demo

Author Topic: Bulk deep-copy or equivalent operation  (Read 2187 times)

sitati

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Bulk deep-copy or equivalent operation
« on: September 29, 2010, 08:19:29 pm »
Hi all,

In short: how do you copy a package to another part of a package heirarchy, and ensure all element references from diagrams within the package are copied in a 'deep copy' manner?

I'm trying to create a workable baseline/snapshot of part of a model, particularly diagrams, and ideally store it in a 'snapshot - <date>' package in the same EA project. The idea is for constantly evolving parts of the project to be stored as snapshots that a development team can easily access from within the project. A secondary requirement is for there to be some difference comparison between the snapshots and the up-to-date diagrams.

Here are the less-than-ideal options I've considered:
- Copy the package across, delete the copied diagrams, then go back and deep-copy each diagram to the target package: extremely tedious when there are dozens of diagrams and the 'snapshot' process is to be done frequently
- XMI export/import: would have to copy more of the model than intended because the elements and diagrams are far apart in the package heirarchy.
- Diagram filters: the documentation seems to suggest this can be used for control and/or version management, but from a few minutes of experimentation, it seems to be more about visualisation
- Using EA's baselining: this allows visualisation of differences, but it seems a baseline of a package does not freeze the references to elements outside it: changes to elements referenced by diagrams in the package after the baseline are still visible after a rollback
- Implementing full-blown Version Control: mostly same as above

Thanks in advance for any suggestions, I'm hoping there's some blatantly obvious option I've overlooked.