PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Adding a local project into the Source Code Manager
  • Adding a network project managed by the developer groupware into the Source Code Manager
  • Sharing resources
  • Sharing files
  • Sharing analysis
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Configuring an existing project for the SCM
Overview
Some operations are required before an existing project can be used by the Source Code Manager. Then, you will be able to work with SCM.
How to proceed?

Adding a local project into the Source Code Manager

To add a local project into the Source Code Manager:
  1. Open your project in the relevant product (WINDEV, WEBDEV or WINDEV Mobile).
  2. In the project editor, select "SCM .. Add the entire project".On the "SCM" pane, in the "Project" group, click "Add the project".
  3. In the wizard, select the SCM database to use and specify its characteristics if necessary. The available databases are:
    • a source database found on a network share (SCM database in HFSQL Classic format). Specify the directory of SCM database (network computer or shared directory).
    • an SCM database found on a HFSQL Client/Server server. The SCM database will be in HFSQL Client/Server format. In this case, you must specify:
      • the server
      • the database
      • the port used
      • the name and password of an administrator of HFSQL database.
    • Versions 22 and later
      an SCM Drive database. Sepcify the information for identifying to your SCM Drive: email, password and team. Connect to PCSCloud for more details.
      New in version 22
      an SCM Drive database. Sepcify the information for identifying to your SCM Drive: email, password and team. Connect to PCSCloud for more details.
      an SCM Drive database. Sepcify the information for identifying to your SCM Drive: email, password and team. Connect to PCSCloud for more details.
    • Versions 19 and later
      an SCM database found in PCS Cloud. Specify the name of cloud platform used and the project to open. Connect to PCSCloud for more details.
      New in version 19
      an SCM database found in PCS Cloud. Specify the name of cloud platform used and the project to open. Connect to PCSCloud for more details.
      an SCM database found in PCS Cloud. Specify the name of cloud platform used and the project to open. Connect to PCSCloud for more details.
    Note: If no SCM database was created yet, click the "Create a database" button. See Creating an SCM database for more details.
  4. In the next step, specify the name of the directory where the project will be located in the SCM database. By default, the projects are organized according to the product used. Any directory can be specified (the "Remote directory" section can be modified). Go to the next step.
  5. Select the elements that will be added into the SCM database. By default, all the project elements are added. Go to the next step.
    • If the project is using a shared analysis that is not found in the project directory, the wizard proposes to associate it with an existing SCM analysis, if this analysis has the same name. In this case, the analysis of SCM is automatically shared among the different projects: no additional operation is required.
    • If the project is using elements shared between several projects: if these elements are not found in the project directory, the wizard proposes:
      • to copy these elements into the project directory.
      • to share these elements with the corresponding element already found in the SCM. If several elements with the same name are found in the SCM, you have the ability to select the element that will be shared.
  6. Select (if necessary) the dependencies that will be added to the SCM database. All the dependencies are added by default. By default, the files found in the "EXE" directory of project are not added. If these files are added, they are checked out for test by default. Go to the next step.
  7. Validate the addition of project into the SCM database.
The developer who added the project into the Source Code Manager becomes the master of the project.
Note: From version 19, HFSQL is the new name of HyperFileSQL.

Adding a network project managed by the developer groupware into the Source Code Manager

To add a network project managed by the developer groupware into the Source Code Manager:
  1. All the developers must check in into the project all the objects shared in developer groupware mode ("Project .. Status of checked-out elements", "Check all in" button).All the developers must check in into the project all the objects shared in developer groupware mode: on the "SCM" pane, in the "All the elements" group, expand "Status of elements" and select "Status of elements (checked out, ...)". In the window that is displayed, click the "Check all in" button.
  2. All the developers must exit from the project.
  3. The project manager must:
    • load the project in the corresponding product (WINDEV, WEBDEV or WINDEV Mobile)
    • make sure that all the elements have been checked in ("Project .. Status of elements (checked out, ...)").check whether all the elements have been checked in: on the "SCM" pane, in the "All the elements" group, expand "Status of elements" and select "Status of elements (checked out, ...)".
    • add the project into the Source Code Manager ("SCM .. Add the entire project"). The project is automatically copied to his local computer. The steps for including the project in the SCM are identical to the steps for including a local project.add the project into the Source Code Manager: on the "SCM" pane, in the "Project" group, click "Add the project". The project is automatically copied to his local computer. The steps for including the project in the SCM are identical to the steps for including a local project.
  4. We advise you to rename the network directory where the project was found. Therefore, the project will not be loaded when starting the product.
  5. Each developer can restart the relevant product (WINDEV, WEBDEV or WINDEV Mobile).
  6. Each developer (except for the project manager) can load the project in a local directory via "File .. Open from SCM".Each developer (except for the project manager) can load the project in a local directory: on the "Home" pane, in the "General" group, expand "Open" and select "Open a project from the SCM".
  7. The project manager can directly load the project that was copied locally onto his computer.
Notes:
  • If test files or specific files were found in the network directory, they still can be used via the network or they can be copied locally (each developer will have to perform this copy).
  • If elements are shared among several projects, see "Sharing resources".
Sharing resources

Sharing files

A first project was imported into the Source Code Manager. This project contains elements shared with other projects (classes, windows, procedures, style sheets, ...)
The wizard for project addition proposes to associate the elements already found in the SCM with your project.
The following operations explain how resources can be shared among the different projects found in the SCM.
To share elements (resources) between different SCM projects:
  1. Select "SCM .. Import an element from the SCM".On the "SCM" pane, in the "Project" group, click "Import from the SCM".
  2. In the window that is opened:
    • The "Search" tab is used to search for an element found in the SCM database from its name.
    • The "Browse" tab is used to browse all the elements found in the SCM database.
  3. Select the requested element, then:
    • Click the "Share" button to share the selected element.
    • Click "Import a copy" to import the element into the project without sharing it.
Important: The dependencies of the element are automatically shared (the internal components of a window for example).
Note: To get the later versions of the common resources, don't forget to regularly retrieve the version found in the SCM.

Sharing analysis

A first project was imported into the SCM. This project contains an analysis shared with other projects.
The wizard for project addition proposes to associate an analysis already found in the SCM with your project. No specific operation is required.
To share an analysis between existing projects:
  1. Import your project A into the SCM (Source Code Manager) as well as its analysis.
  2. The project B, with which the analysis must be shared, must have no analysis.
  3. Import this project into the SCM
  4. Once the project B is imported, display the project description.
  5. In the "Advanced" tab, click the "Import an analysis from SCM" button.
  6. Then, you have the ability to copy the analysis or to share it. Click the "Share" button.
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment