ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Environment
  • Overview
  • How to?
  • Principle
  • Generating executables automatically
  • Creating the main library of the application automatically
  • Generating a component from a project automatically:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Overview
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.
WEBDEV - Server code The generation of executables is not available.
Remark: You also have the ability to perform multi-project batch processes. 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.
How to?

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:\My Projects\My Sales Management\Customer\Customer.WDP
C:\My Projects\My compatibility\Compatibility.WDP
Then, specify via a command line the action to perform on the projects referenced in this file (see the following paragraphs for more details).
WINDEV

Generating executables automatically

To automatically generate the executables:
  1. Create the Text file containing the path of the projects for which the executables must be created.
  2. Run the following command line: WINDEV.EXE /CREATEEXE=<Path of Text file>
    For example: WINDEV.EXE /CREATEEXE="C:\Temp\Test.txt"
  3. The corresponding editor is automatically started. Each project specified in the text file is opened and compiled, then the executable is created with all the options selected by default (or with the options selected during the last creation of the executable for this project.). The editor automatically closed once the executable is generated.
For more details on the different steps to generate an executable file, see Creating an executable file.

Creating the main library of the application automatically

To automatically create the main library of the application:
  1. Create the Text file containing the path of the projects for which the library must be created.
  2. Run the following command line:
    WINDEV.EXE /CREATEWDL=<Path of Text File>
    For example: WINDEV.EXE /CREATEWDL="C:\Temp\Test.txt"
  3. 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.
  4. 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.
For more details on libraries, see Library: Definition.

Generating a component from a project automatically:

To automatically generate a component from a project:
  1. 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.
  2. Run the following command line:
    • WINDEV In WINDEV:
      WINDEV.EXE /CREATEWDK=<Path of Text File>
      For example: WINDEV.EXE /CREATEWDK="C:\Temp\Test.txt"
    • WEBDEV - Server code In WEBDEV:
      WEBDEV.EXE /CREATEWDK=<Path of Text File>
  3. 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.
For more details on the different steps to generate a component, see Creating a component.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/05/2024

Send a report | Local help