Configure Packages

Before you can use a controlled package, you must configure it with options such as the filename to save to/load from, the type of export and the version number.

Once a package is configured and marked as controlled, it is displayed in the Project Browser with a small colored rectangle next to the package icon, indicating it is a controlled package. In the example below, the RQ01: Formal Requirements package is a controlled package.



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.

Configure a Controlled Package

To configure a controlled package, follow the steps below:

  1. In the Project Browser, right-click on the package to control or configure. The context menu displays.
  2. Click on the Package Control | Configure menu option. The Package Control Options dialog displays.
  3. Set the required options, as follows:
  • Select the Control Package checkbox to indicate that this is a controlled package
  • Click on the Version Control drop-down arrow and select the version control repositories; this connects the package to a specific version control configuration
  • In the XMI Filename field, type or browse for the path and XMI file for importing and exporting XMI files. The field accepts Local Path Substitution strings; for example, use an XMI local path definition where:
    myLocalPath="C:\Documents and Settings\John\Desktop\EA Models"
    Then %myLocalPath%\CIM.xml is equivalent to C:\Documents and Settings\John\Desktop\EA Models\CIM.xml
  • In the UML/XMI Type field, click on the drop-down arrow and select the type of XMI generated; options include Enterprise Architect XMI/UML 1.3, Rational Rose/Unisys UML 1.3 and Generic XMI 1.0/UML 1.3 - currently only Enterprise Architect UML 1.3 is supported for complete import/export round tripping of packages
  • In the Version ID field, type the version ID number
  • In the Owner field, type or select the name of the package owner
  • If required, click on the Use DTD checkbox to use a Data Type Definition (DTD)
  • If required, click on the Log Import/Export checkbox to log import and export activity to a log file
  • If required, click on the Batch Import checkbox to mark the package as a Batch Import package
  • If required, click on the Batch Export checkbox to mark the package as a Batch Export package
  • If required, click on the Include sub-package checkbox to deselect it, to include only the immediate contents of the package in an XMI export (XMI stubs); this is available only for an XMI 1.1/UML 1.3 export. If you leave the checkbox selected, the entire sub-package hierarchy of this branch is included in the export.
  1. Click on the OK button to set the Package Control options.


For batch import, the file date of the XMI file is stored. You can bypass the batch import if the file date of the last import matches that of the current file (that is, there is no change).