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

Configure Packages

In order to configure a package to save and load in XML format to a named file, you use the Package Control Options dialog to flag the package as being controlled and set a number of options. These options include setting the XMI filename to save to/load from, the type of XMI to import and export, and whether to export and/or import the XMI in a batch process. When the package is configured, this is indicated by a small colored rectangle on the left of the package icon in the Project Browser, as shown below for the RQ01: Formal Requirements package.


Access    Right-click package in Project Browser | Package Control | Configure (Ctrl+Alt+P)

Configure a controlled package



See also

Control Package

Select the checkbox to indicate that this is a controlled package.



For all packages, create placeholders for external references

Select to force all XMI 1.1 imports of this package to exclude incoming relationships and instead create external references.

This overrides the Create placeholders for missing External References during XMI 1.1/2.1 Import checkbox in the XML Specifications options for a user, if that checkbox is not selected.


XML Specifications

Version Control

Leave this field set to (None), to manage the package under XMI control.

The Package Control Options dialog is also used in adding a package to Version Control and, in this context, is described under the Version Control section.


Configure Controlled Package

XMI Filename

Type or browse for the path and XMI file name into which to export the package data and from which to import it.

You can also enter Local Path Substitution strings; for example, an XMI local path definition where:


myLocalPath="C:\Documents and Settings\John\Desktop\EA Models"



So that %myLocalPath%\CIM.xml is equivalent to:


C:\Documents and Settings\John\Desktop\EA Models\CIM.xml




Click on the drop-down arrow and select the type of XMI to be generated; options include:

Enterprise Architect XMI/UML 1.3
Rational Rose/Unisys UML 1.3 and
Generic XMI 1.0/UML 1.3
Enterprise Architect XMI 2.1/UML 2.1


For complete import/export round tripping of packages, currently only Enterprise Architect XMI/UML 1.3 is supported.



Version ID

Type the version number you want to apply to the package.

This field is the same as the Version field on the package Properties dialog; any change to either field updates the other.




Defaults to the name of the package owner; if necessary, type or select a different name.




(Optional)  Select the checkbox to use a Data Type Definition (DTD) for the imports and exports.

(This option is not available for the Enterprise Architect XMI/UML 1.3 or Rational Rose/Unisys UML 1.3 types.)



Log Import/Export

(Optional)  Select the checkbox to log import and export activity to a log file.



Batch Import

(Optional)  Select the checkbox to mark the package as a Batch Import package.



Batch Export

(Optional)  Select the checkbox to mark the package as a Batch Export package.



Include sub-packages

(For an Enterprise Architect XMI/UML 1.3 export)  Select the checkbox to include the entire sub-package hierarchy of this branch in the export (default).

Deselect the checkbox to include only the immediate contents of the package in an XMI export (XMI stubs).




Click on this button to set the Package Control options and close the dialog.




In the Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Configure Packages permission to configure controlled packages and package properties
For batch import, the file date of the XMI file is stored; you can bypass the batch import if there is no change - that is, the file date of the last import matches that of the current file

Learn more