Checking In Packages and Element to the VCS
Keep the following points in mind when checking in a package, folder, or an element to the VCS:
When you check in a package or a folder, all the contents of the package or folder are also checked in.
If a folder or element does not exist in the VCS, checking it in adds the folder or element to the VCS repository.
If a package, folder, or element has unsaved changes, you must save the changes before checking it in. If not, your unsaved changes will not be reflected in the VCS.
When checking in a Java or C/C++ service, you must check in from the package level so that all files associated with the Java or C/C++ service are also checked in.
After the check in procedure is completed, the small check mark or ‘>’ mark that indicates that the element is checked out is removed from the element icon in the Navigator view.
To check in a package, folder, or element to the VCS
1. In Designer, in Package Navigator view, right-click the package, folder, or element that you want to check in and from the Team menu, select the appropriate option to check in the files. The options available in the Team menu depend on the VCS client that you use.
Note: | You can also right-click the package, folder, or element that you want to check in and select Show Files. You can select multiple folders or elements by pressing the CTRL key while selecting. Designer highlights all the server files associated with the package, folder, or element in the Navigator view. Right-click these files in Navigator view and, from the Team menu, select the appropriate option to check in the files. |
2. Designer displays the Progress Monitor dialog box. Click Run in Background to continue working in Designer.
Important: | Software AG recommends that you do not perform any operation on the asset on which Designer is performing the VCS operation because it might result in the asset becoming corrupted. |
Note: | You can also check in any folders or elements that are outside the package namespace structure or files that are not IS assets (that is, they do not appear in the Package Navigator view of Designer). To do this, right-click the files in Navigator view, select Team, and select the check in or commit option specific to your VCS client. |