|
|
|
|
|
- Overview
- How to?
- Principle
- Generating executables automatically
- Creating the main library of the application automatically
- Generating a component from a project automatically:
Batch processing: creation of executables, WDLs, components, etc.
Warning
From version 16, the creation of batch processes is kept for backward compatibility. We recommend that you use the software factory to automate the process for creating applications. For more details, see Software Factory.
WINDEV and WEBDEV allow you to perform multiple types of processes from a command line You can: - Compile and generate the executable (EXE) associated with one or more projects.
- Create the library (WDL) associated with one or more projects.
- Generate the components (WDK) associated with one or more projects.
Remarque: Multi-project batch processing is also possible. In this case, you have the ability to configure the different operations performed during the compilation or when creating the executable. For more details, see Multi-project batch processes. Principle All you have to do is create a text file containing the full path of the projects corresponding to the action to perform. This text file has the following format: C:\Mes Projets\Ma Gestion Commerciale\Client\Client.WDP C:\MesProjets\Ma compatbilité\Comptabilité.WDP Then specify via a command line the action to perform on the projects referenced in this file (for more details, see the following paragraphs). Creating the main library of the application automatically To automatically create the main library of the application: - Create the Text file containing the path of the projects for which the library must be created.
- Run the following command line:
WINDEV.EXE /CREATEWDL=<Path of Text File> For example: WINDEV.EXE /CREEWDL="C:\Temp\Test.txt" - Each project specified in the text file is opened and compiled, then the main library is created with all the options selected by default (or with the options selected during the last creation of the library for this project.). The editor is automatically closed once the library is created.
- The corresponding editor is automatically started. Each project specified in the text file is opened and compiled, then the main library is created with all the options selected by default (or with the options selected during the last creation of the library for this project.). The editor is automatically closed once the library is created.
Generating a component from a project automatically: To automatically generate a component from a project: - Create the Text file containing the path of the projects for which the associated component must be created. If the project is associated with several components, only the first component will be generated.
- Run the following command line:
In WINDEV: WINDEV.EXE /CREATEWDK=<Path of Text File> For example: WINDEV.EXE /CREEWDK="C:\Temp\Test.txt"
- The editor is automatically started. Each project specified in the text file is opened and compiled, then the first component found associated with the project is generated with all the options selected by default (or with the options selected during the last generation of the component for this project). The editor is automatically closed once the component is generated.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|