Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Merge Package Directly with XMI

You have two options for importing a Package into a model from XMI, where that Package already exists in the model:

  • Merging the Package directly, as documented here, where Enterprise Architect simply merges the differences between the XMI file and the existing Package in the model
  • Using a merge file, as documented in the Merge Package with XMI Using Merge File topic, where Enterprise Architect deletes the existing Package from the model and imports the new Package information from XMI

Access

Select your target Package in the Browser window, then use one of the methods outlined here to open the 'Import Model from XML' dialog.

On the 'Import Model from XML' dialog, click on the Merge XMI button, then choose the option 'Direct Merge'.

Ribbon

Publish > Model Exchange > Import XML > Import Package from XML : Merge XMI > Direct Merge

Keyboard Shortcuts

Ctrl+Alt+I : Merge XMI > Direct Merge

Merge Package Options

Option

Action

See also

Package

Displays the name of the currently-selected Package, the contents of which will be merged with the imported XMI file.

If this is not the required Package, click on the Browse package button and select the correct Package.

XMI File

Type in the directory path and filename of the XMI file, or click on the Browse. button and locate the file.

Baseline Package before Merge

Select this checkbox to open the 'Create Baseline' dialog, to create a baseline of the selected Package before merging the XMI file.

You can use this baseline to roll back to the content of the pre-merged Package, if necessary.

Manage Baselines in Model

Compare Baseline with Package after Merge

Select this checkbox to automatically compare the Package with the Baseline once the merge is complete.

The checkbox is enabled when the 'Baseline Package before Merge' checkbox is selected.

Merge

Click on this button to begin the merge of the Package content with the XMI file content.

Close

Click on this button to close the 'Merge Package with XMI' dialog.

Help

Click on this button to display this Help page.

Learn more