PC SOFT

WINDEV的在线文档

  • Overview
  • How do I proceed?
  • Principle
  • Generating executables automatically
  • Creating the main library of the application automatically
  • Generating a component from a project automatically:
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
WinDev, WebDev and WinDev Mobile allow you to perform several types of processes in 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.

Note: 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. See Multi-project batch processes for more details.

How do I proceed?

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 For WinDev:
      WinDev20.EXE /CREATEEXE=<Path of Text file>
      For example: WinDev20.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.
See Creating an executable for more details.

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 In WinDev:
      WinDev20.EXE /CREATEWDL=<Path of Text file>
      For example: WinDev20.EXE /CREATEWDL="C:\Temp\Test.txt"
  3. 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.
See Library: Definition for more details.

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:
      WinDev20.EXE /CREATEWDK=<Path of Text file>
      For example: WinDev20.EXE /CREATEWDK="C:\Temp\Test.txt"
  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.
See Creating a component for more details.