Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
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.
Access: Project Browser | Package Context Menu | Import/Export | Export package to XMI file
Project Browser | Package Context Menu | Import/Export | Import package from XMI file
Use to:
- Copy individual child packages within or between models
- Duplicate larger structures, such as complete models or projects
How to:
To copy a package from one Enterprise Architect project to another, follow the steps below:
Step |
Action |
See also |
---|---|---|
1 |
Open the Enterprise Architect project to copy from |
|
2 |
In the Project Browser, right-click on the package to copy and select the Export package to XMI file option The Export Package to XMI dialog displays |
|
3 |
Select the appropriate options and filename |
|
4 |
Click on the Export button to begin the export process |
|
5 |
When the export is complete, open the Enterprise Architect project to copy into |
|
6 |
In the Project Browser, navigate to the location to import the package into |
|
7 |
Right-click and select the Import package from XMI file option The Import Package from XMI dialog displays |
|
8 |
Select the appropriate options and filename |
|
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, Enterprise Architect creates a copy of the original package
Learn More: