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

Check Out a Package

To work on a version controlled package you must have the package checked out.  When a package is checked out to a specific user, no other user can check out the package to make changes to it until it has been checked in again.

The Check Out command allows you to check-out the package currently selected in the Project Browser.

Use to:

  • Check out a single package

How to:

Step

Action

See also

1

In the Project Browser, right-click on the package that is to be checked out and select Package Control | Check Out.

The local XMI file associated with the package is checked-out from version control.

Check Out Model Branch

Check In Package

2

When working in a Private Model, if Enterprise Architect determines that the package content in the model is already up to date with the latest revision of the package file retrieved from version control, then the Import Package dialog displays.  This dialog is not displayed for Shared Models.

The following options are offered;

  • Force reload From XMI
  • Accept current package

Choose Accept current package to skip the process of re-importing the package from XMI.

The option Refresh model view allows you to specify whether or not to refresh the Project Browser and diagrams, by reloading the package content from the project database.

The Import Package dialog also has an option Always use these settings.  When selected, if you subsequently check out a package that is found to be up to date, the same settings are applied again without displaying the dialog.

  • To display the dialog if, for example, you want to change the settings, press a Ctrl key while you select the Package Control | Check Out menu option.

 

3

The package file is imported into your model.

The package icon is updated to reflect the change in the package's version control status.

 

Notes:

  • If you check out a version controlled package whilst offline, the package icon has a red figure 8 in front of it

Learn More: