Prev Next

Copy Packages Between Projects

It is possible to copy and move individual Packages between projects, exporting and importing the Packages as XMI files. You can also duplicate larger structures, such as complete models or 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.

Access

Ribbon

Publish > Model Exchange > Export XMI > Export XMI for Current Package

Publish > Model Exchange > Import XMI > Import Model XMI

Keyboard Shortcuts

Ctrl+Alt+E (export to XMI)

Ctrl+Alt+I (import from XMI)

Copy a Package from one Enterprise Architect project to another

Step

Action

See also

1

Open the project to copy from.

2

In the Project Browser, click on the Package to copy and select the 'Publish > Model Exchange > Export XMI > Export XMI for Current Package' ribbon option.

The 'Export Package to XMI' dialog displays.

3

Select the appropriate options and filename.

Export to XMI

4

Click on the Export button to begin the export process.

5

When the export is complete, open the project to copy into.

6

In the Project Browser, navigate to the location to import the Package into.

7

Click on the target Package and select the 'Publish > Model Exchange > Import XMI > Import Model XMI' ribbon option.

The 'Import Package from XMI' dialog displays.

8

Select the appropriate options and filename.

Import from XMI

9

Click on the Import button.

The Package is copied from the source project to the destination project.

Notes

  • 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 the latter case, the system creates a copy of the original Package

Learn more