PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Sharing an internal component
  • Using an internal component in a project found in the SCM
  • Handling a shared internal component
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
Sharing the internal components (via SCM)
Overview
An internal component is a group of project elements. This grouping is used to:
  • Organize a project: The internal components can be used to group the project elements, by feature for example. The project can be found (or not) in the SCM.
  • Share the elements among several projects: The elements found in an internal component can be shared between several projects via the SCM.
One of the benefits of the internal component compared to an external component is that the internal component can be debugged from the project that is using it.
Sharing an internal component
The internal components can be shared between projects via the SCM.
To share an internal component via the SCM, the project containing the internal component must be found in the SCM. You can:
  • create the internal component from a project found in SCM. The internal component will be automatically found in the SCM.
  • import a project containing one or more internal components into SCM. The internal components will be automatically included in the SCM.
See Creating an internal component for more details.
Versions 15 and later
When importing an internal component in a project, the description window of the component presents the dependencies (other internal or external components) required for the imported component to operate properly.
New in version 15
When importing an internal component in a project, the description window of the component presents the dependencies (other internal or external components) required for the imported component to operate properly.
When importing an internal component in a project, the description window of the component presents the dependencies (other internal or external components) required for the imported component to operate properly.

Using an internal component in a project found in the SCM

To use an internal component in a project found in the SCM:
  1. Select "Workshop .. Internal component .. Import an internal component into the project .. From the SCM". The project file is automatically checked out if necessary.On the "Project" pane, in the "Project" group, expand "Import" and select "An internal component .. From SCM". The project file is automatically checked out if necessary.
  2. The window for adding an internal component is displayed. The list of internal components found in the SCM is displayed. You have the ability to view she shares already performed for each available component.
  3. Select an internal component and validate.
  4. The internal component and all its element are automatically included in the project. A sub-directory named as the internal component is created in the local project (on the development computer). This directory contains all the component elements. This sub-directory is also created in the directory of the project in the SCM database.
Notes:
  • The option "Workshop .. Internal component .. Import an internal component into the project .. From a file" allows you to copy the content of an internal component into a project. The elements are not shared.You also have the ability to import an internal component without using the SCM: on the "Project" pane, in the "Project" group, expand "Import" and select "An internal component .. From a file". The content of internal component will be copied into the project. The elements are not shared.
  • You can also use an internal component found in the SCM from the window for managing the internal components ("Manage the internal components of the project" from the popup menu of the "Internal components" folder found in the project explorer).

Handling a shared internal component

Whether the internal component is shared or not, the operations that can be performed on the internal component are identical. See Handling an internal component for more details.
Caution: when the internal component is shared, all the developers who use the SCM can modify the internal component and its characteristics. You can limit the modifications by applying a management of rights to the internal components and to its files. See Managing the rights in the SCM for more details.
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment