The LFET.Project.ini file
LFET.Project.ini and LFET.Project.yaml files are used to centrally define project settings for groups of decision tables, such as settings for the management of backup copies, defining storage directories and encodings for generated files, etc.
Notes on LFET.Project.ini files
-
File names are case-insensitive.
-
Capitalization is also irrelevant for key names, as is the use of periods to separate words.
-
LFET.Project.ini files can also be nested, see: Multiple Project.ini files.
-
Settings that are intended to apply to exactly one decision table can be defined in two ways:
-
In an additional LFET.Project.ini file that is “private” to the decision table, see: decisiontable.lfet.ini (recommended)
-
or directly in the decision table itself. Usually, the desired settings are entered in the decision table prologue in the following form: $$keyname=value. See also: Generation parameters
-
-
Examples: A specific class name, a particular Java package declaration, the targeted suppression of interval checks, etc.
-
LFET.Project.ini files are searched for backwards through the folder hierarchy, starting from the location of the decision table. See also: Search for Project.ini files.
-
Key names can also be used within key values, optionally enclosed in curly or square brackets, using the syntax ${key} or $[key] . Here is an example:
ide.Java.SourcePath = ${project.root}/../../java/${package}
ide.Java:
SourcePath: ${project.root}/../../java/${package}
-
Important note: For multi-level path specifications "/" must be used instead of "\" as a separator, i.e. not Java\Source but: Java/Source.
-
For relative paths, the location of the Project.ini file is used as the basis for forming the absolute path.
-
If required, you can also define your own keys in the decision tables themselves both in the LFET.Project.ini files and using the syntax $$key=value. The definition of own keys in decision tables is created in the same way as the definition of language-related generation parameters.
-
Key definitions in decision tables overwrite same name definitions from LFET.Project.ini files.