Check In and Check Out Packages |
To work on a version controlled package you must have the package checked out. When a package is checked out to a specific user, a write lock is set on the package and other users cannot make changes to it until it has been checked in again.
Note: |
In the Corporate edition of Enterprise Architect, if security is enabled you must have Use Version Control permission to check files in and out using version control. |
Check In/Check Out
- In the Project Browser, right-click on the package icon.
- Select the Package Control | Check In, Check Out or Undo Checkout menu options, as appropriate.
- If required, enter a comment when prompted to do so.
If you are working in a private model and you select the Check Out menu option, the Import Package dialog displays (in shared models, this dialog only has default values and therefore does not display).

Option |
Use to |
||
Force reload from XMI |
Reload the package content from the XMI file in the central repository, even though the package and XMI file are synchronized. This ensures that links and dependencies that might not have been refreshed are updated as well. |
||
Accept current package |
(The default.) Leave the package content in its current state. |
||
Refresh model view |
Refresh the model view to show any changes from other checked out packages. |
||
Always apply above settings |
Apply the settings in the above three fields every time you check out a package that is found to be up to date, and therefore do not display this dialog again.
|
The package icon in the Project Browser should change. When you check out a package this is represented by a figure 8 to the left of the package icon. When you check in a package the package icon is overlaid with a colored rectangle and key. In the example below, the upper package is checked out whilst the lower package is checked in.
![]()
Notes: |
|
Check In Branch
- In the Project Browser, right-click on the package icon at the root of the model branch that is to be checked in and select the Package Control | Check In Branch context menu option. The Select Packages to Check-in dialog displays, listing all version controlled packages within the branch that you have checked out.
- Click on the package to check in, or use:
- [Ctrl]+click to add or remove several individual packages
- [Shift]+click to select a range of packages
- All to select all packages listed
- None to clear all selected packages.
- Click on the OK button to check-in the selected packages.
- If required, enter a comment when prompted to do so. (This comment applies to all packages that you have checked in.)
- Each package icon changes to indicate that the packages have been checked-in.
