WINDEV Concepts
66 Part 2: Development environment 3 Configuring the project to work with the SCM Some operations are required before an existing project can be used by the Source Code Manager. 3.1 Adding a project to the SCM To add a local project to the SCM : 1. Open your project in WINDEV. 2. On the "SCM" tab, in the "Add project" group, click "Add project to SCM". 3. In the wizard, select the repository to be used: • A new repository. In this case, select the type of repository you want to create (SCMDrive or PCSCloud, Client/Server or local repository). Provide the required information according to the chosen option. • An existing repository. Simply select the desired repository. 4. Finish the wizard. The project is added to the SCM. 3.2 Sharing resources A first project was imported into the Source Code Manager. This project contains elements shared with other projects (classes, windows, procedures, style sheets, analyses, etc.). Sharing is an important aspect of the SCM. There are several methods to share resources. For more details, see the online help. 4 Working with the SCM 4.1 Project options related to the SCM Several options are available to configure a project handled by the Source Code Manager. These options can be found in the "SCM" tab of the project description ("Project" tab, "Description"). These options are checked by default. • Suggest getting the latest version of the elements when the project is opened : When opening a project located in the SCM, this option prompts you to get the latest version of the project elements. By default, the latest version of the elements is automatically retrieved. • Suggest checking the elements back in when the project is closed : When the project is closed, this option displays a list of the checked out elements to check some or all of them back in. By default, when the project is closed, the checked out elements are not checked back in. • Check out/Check in the project automatically : This option is used to automatically manage the "project file". If this option is checked, the project file is checked out only if the action performed requires it. Once the actions have been completed in the project, the project file is automatically checked back in. This option disables the "Master/Guest" management on the project. This option can also be enabled on the "SCM" tab, in the "Project" group, by expanding "Master/Guest" and selecting "Manage project check-out automatically". 4.2 Checking out an element The different check-out modes The SCM includes two modes to check out the project elements: • standard mode : if you open an element that has not been checked out from the SCM, a panel indicates that the element must be checked out to modify it. The element can be checked out immediately (check-out button found in the dialog box).
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==