Copy Packages from One Project to Another

Return to Introduction  Previous page  Next page

Using the XML import/export capabilities of Enterprise Architect, you can copy and move packages between Enterprise Architect models. This gives you a high level of flexibility in building a model from re-usable parts and from elements produced in widely-dispersed geographic regions.

Copy a Package from One Enterprise Architect Model to Another

To copy a package from one Enterprise Architect model to another, follow the steps below:

1.Open the Enterprise Architect model to copy from.
2.In the Project Browser window, right-click on the package to copy. The context menu displays.
3.Select  the Import/Export | Export package to XMI file menu option. The Export Package to XMI dialog displays.
4.Select the appropriate options and filename (see Export Package to XMI for further information).
5.Click on the Export button to begin the export process.
6.When the export is complete, open the recipient Enterprise Architect model. In the Project Browser window, navigate to the location to import the package into.
7.Right-click to display the context menu, and select the Import/Export | Import package from XMI file menu option. The Import Package from XMI dialog displays.
8.Select the appropriate options and filename (see Import Package from XMI for further information).
9.Click on the Import button. The package is copied from the source project to the destination project.

Note: If the package you are importing already exists in the target model (that is, it has been imported previously), you must either import over the existing package or select the Strip GUIDs option, in which case Enterprise Architect creates a replica of the original package. You can also use this technique to copy an entire package within the same model.