Skip to content

4d-depot/Tool_Compilation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tool_Compilation

Since 4D v19, you can start the compilation of a project with a simple command. This tool allows you to launch a compilation by command line since 4D v19.

Find more information on the blog post.

Description

This project need to launch by command line with the following parameters:

Options Description
4D path of the 4D application (mandatory attribut)
--structure path of this project file (mandatory attribut)
--user-param stringily object that contains:
* path: path of the project to compile (mandatory attribut)
* options: Option passed to Compile Project command (optional attribut)
* quit : pass false to not close 4D after compilation, useful for tests, by default 4D closes after execution (optional attribut)
--headless To launch 4D without interface (optional parameter)
--dataless To launch 4D without data (mandatory attribut)

For more detail, read the documentation of “On Startup” database method.

Installing and Using a 4D Project

Pre-requisites

Steps to Run the Project

  • Clone or download the GitHub repository containing the 4D project to your local machine. Need help, check out this blog.
  • Open the 4D project in your 4D software by navigating to "File > Open Project". You can find more details here.
  • Play with this HDI.
  • Navigate to the "Mode/Return to design mode" menu to view the code.

By following these steps, you will be able to successfully install and run a 4D project.