Command line options for build, link, execution rules

Special command line options can be used for build, link, and execution rules.

Table 1. Command line operands
Command line / syntax Description
$(4dbcomp)
$(4dbcomp) sourceFile[4db]
Builds the schema file (sch) from the database file (4db).
$(4fdcomp)
$(4fdcomp) [options] sourceFile[4fd]
Options include:
  • -m - Generate localized strings.
  • -i - Ignore (overwrite) present files.
  • -keep - Keep a temporary .per file.
Builds the compiled form file (42f) from the form file (4fd).
$(blockpoint)
$(blockpoint) [options] filename
The $(blockpoint) command manages user added code by extracting or injecting code between BLOCK and POINT tags in a generated 4gl file.
$(copy)
$(copy) sourceFilePath destinationFilePath

Copies the given file or directory to the given destination in a platform-independent way. When copying a directory, the copy is recursive.

$(delete)
$(delete) filePath1 filePath2 ...
Removes the given files or directories in a platform independent way. When deleting a directory, the delete is recursive; all subdirectories and files contained within the directory are deleted.
$(fglcomp)
$(fglcomp) [options] sourceFile[4gl]
The fglcomp tool compiles BDL program sources files into a p-code version.
$(fglmkmsg)
$(fglmkmsg) [options] sourceFile[.msg] [outFile.iem]
The fglmkmsg tool compiles message files into a binary version used by the BDL programs.
$(fglmkstr)
$(fglmkstr) [options] sourceFile[.str]
The fglmkstr tool compiles localized string files.
$(fglrun)
$(fglrun) [options] program
Calls fglrun tool, the runtime system program that executes p-code programs.
$(fglwsdl)
$(fglwsdl) [options] <filename | url>
Calls the fglwsdl tool for creating a web services program.
$(generate)
$(generate) [options] filename
The $(generate) command creates an intermediary XML file from modeled entities.
$(gstdebug)
$(gstdebug) 

Calls internal Genero Studio debugger.

Execution rules only.
$(gstrun)
$(gstrun) 
Calls command to run an application through Genero Studio.

Execution rules only.

$(move)
$(move) sourceFilePath destinationFilePath
Moves the given file or directory to the given destination in a platform-independent way. When moving a directory, the move command is recursive.
$(percomp)
$(percomp) [options] sourceFile[per]
The fglform tool compiles form specification files into XML formatted files used by the programs.
$(tcl) - deprecated
tclsh
tclsh [options] filename.xml
The tclsh executable generates the final file by using both a Tcl template file and the intermediary XML file created by the $(generate) command.