Copy Packages Between Projects

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

This procedure, with the Strip GUID's checkbox selected (see step 8, below)  is effectively the same as copying packages within or between models. You would tend to use this export/import procedure for duplicating larger structures, such as complete models or projects, although exporting and importing individual child packages within the same model is just as feasible. You cannot export and import specific elements using this procedure, but the process of copying elements within or between packages, models and projects is derived from it.


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

  1. Open the Enterprise Architect project to copy from.
  2. In the Project Browser, 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 the Export to XMI topic 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 project. In the Project Browser, 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 the Import from XMI topic for further information).
  9. Click on the Import button. The package is copied from the source project to the destination project.


If the package you are importing already exists in the target project (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.