Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
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, Business and Software Engineering, System Engineering and Ultimate editions 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 context 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.
Check Out Branch
- In the Project Browser, right-click on the name of the root package of the model branch to be checked out and select the Package Control | Check Out Branch context menu option. The selected package and all of its contained sub-packages are recursively checked out.
- Any packages that cannot be checked-out are listed in a message box, with a brief description of the problem. For example: The package is already checked out by user 'Fred'.
- When Project Security is enabled in Lock to Edit mode, Enterprise Architect prompts you to apply a User Lock throughout the selected model branch before proceeding.