WINDEV Concepts

Part 2: Development environment 67 • automatic mode : if you try to modify an element that has not yet been checked out, the SCM automatically prompts you to check it out. Once the check-out is validated, the element can be modified. Remark: this mode is not recommended when using the SCM with a slow Internet connection. To change the check-out mode : 1. On the "Home" tab, in the "Environment" group, expand "Options" and select "General options of WINDEV". 2.  In the "General" tab, the "Check out elements during the first modification" option allows you to switch all subsequent projects to automatic mode. Opening a project element to change its characteristics To change the characteristics of a project element included in the SCM: 1. Check out the element from the Source Code Manager. 2. Select the check-out mode for the element. The check-out mode can be: • exclusive : nobody can check out this element until it is checked back in. The element can be checked out for tests only. • for test : the element can be modified but the modifications will not be checked back in. • multiple : the element can also be checked out by other users. In this case, the differences between the element versions can be viewed when the element is checked back in. 3. Confirm. The element is opened. The title bar indicates that the element is checked out. 4.3 Checking an element back in The elements checked out from the Source Code Manager are bordered by a red line in the project editor. To check in an element, go to the "Project explorer" pane and select "Check in" in the context menu of the element. A screen allows you to perform the following actions before checking the element back in: • view the changes made. • compare the element in the repository with the local (checked out) element. • access the element history in the repository. You can check in the changes made to the element while keeping the element checked out ("Keep element checked out" option). 4.4 Project management modes Two management modes are available with the SCM: • Managing the project in Master/Guest mode. • Managing the project in automatic mode (by default). Master and guest The Source Code Manager distinguishes between 2 types of users: • the master: the master is the user who initially stored the project in the Source Code Manager. • the guests: the guests are the developers who handle the project from the Source Code Manager. There is no need to be connected in master mode on a project. The "Master" mode is only required to: • change the project characteristics and check these changes back into the repository. • check in all the elements to create the executable and the setup program of the application. To switch frommaster mode to guest mode , go to the "SCM" tab, "Project" group, expand "Master/ Guest" and select "Become guest on the project (and check all in)". In this case, the Source Code Manager allows you to check in all the elements of the project (including the .WDP file).

RkJQdWJsaXNoZXIy NDQ0OA==