Release RMC-06.02
(2024-04-29)
|
ContentsDescriptionUser File Templates (GBS_TEMPLATES_PATH)| SCM binary home directory (GBSEXT_scm_PATH)| Make (GBS_MAKE)| Background Processing Invocation (GBS_SUBMIT)| Foreground Processing Invocation (GBS_SUBWIN)| Batch Processing Invocation (GBS_BATCH)| Notify Submit, Start and End of gbssys...-job execution (GBS_BG_NOTIFIER)
DescriptionThese Customisation must only be set by the GBS Administrator!Index User File Templates (GBS_TEMPLATES_PATH)TemplatesWhen gbsedit creates a file, a template-file (template) is used.Standard templates are defined in GBS for GBS-internal files (*.gbs & gbs script files). There are also templates for most common User files (.c, .glk, etc). As you can use gbsedit also outside GBS (outside the GBS Work Area) these come in two tastes:
Template-files are named gbs.file_type or
gbs_name.file_type or
any.file_type or
any_name.file_type .E.g.: any.c, gbs.glk , any_myname.c Search-order is:
See below for the customisable items in a template-file. gbsmaint 7 2 provides functions to:
Comments in filesAssociated to a file-type are comment-characters:
Whenever you add a file with gbsedit, and the file-type is not known, you will be prompted for the comment-characters. They are saved in a file called 'comment_chars.gbs' in the User Templates directory. Not happy?Suggestions? Your favourite missing? Let me know!Name:GBS_TEMPLATES_PATHPurpose:To define a directory containing external project file-templatesDefault:
Where:In the switch.gbs file or the site.gbs file.Define:
Semantics:Template-files are namedany.file_type or any_name.file_type .
E.g.: any.c, any.glk , any_myname.c Search-order is GBS_SYS_PATH/templates (User), GBS_TEMPLATES_PATH (Share), Internal_GBS_directory (GBS). The following tokens used within the Template will be replaced during file-creation by GBS:
SCM binary home directory (GBSEXT_scm_PATH)Name:GBSEXT_scm_PATHPurpose:To define the home directory of the specific SCM execution binaryThis prevents being depended on the individual PATH settings Default:
Where:In the switch.gbs file or the site.gbs file.Define:
Semantics:The following EnvVars will be recognised by GBS:
Make (GBS_MAKE)Name:GBS_MAKE and/orGBS_MAKE_gbs_build Purpose:Define a alternate make command and/or specify make-options for Non-GBS makefilesCareful: Incorrect use can damage the build-system! Default:
Where:In the switch.gbs file or the site.gbs file.Define:
Background Processing Invocation (GBS_SUBMIT)Name:GBS_SUBMIT and/orGBS_SUBMIT_gbs_build Purpose:Define a general script to be executed after submitting a job to the background batch and before the job is executed (for implementing things like LSF)The batch-job will be executed within the context of this general script Affected commands: gbssysbuild, gbssysmake, gbssysaudit. Careful: Incorrect use can damage the build-system! Default:
Where:In the switch.gbs file or the site.gbs file.Define:
Foreground Processing Invocation (GBS_SUBWIN)Name:GBS_SUBWIN and/orGBS_SUBWIN_gbs_build Purpose:Define a general script to be executed after submitting a job for foreground executing in a separate window and before the job is executed (for implementing things like LSF)The batch-job will be executed within the context of this general script Affected commands: gbssysbuild, gbssysmake, gbssysaudit (with --fg )Careful: Incorrect use can damage the build-system! Default:
Where:In the switch.gbs file or the site.gbs file.Define:
Batch Processing Invocation (GBS_BATCH)Name:GBS_BATCH and/orGBS_BATCH_gbs_build Purpose:Define a general script to be executed after submitting a batch job and before the job is executed (for implementing things like LSF)The batch-job will be executed within the context of this general script Affected commands: gbsbuild, gbsmake, gbsaudit Careful: Incorrect use can damage the build-system! Default:
Where:In the switch.gbs file or the site.gbs file.Define:
Notify Submit, Start and End of gbssys...-job execution (GBS_BG_NOTIFIER)Name:GBS_BG_NOTIFIER and/orGBS_BG_NOTIFIER_gbs-build Purpose:Define a command to be executed at submit, beginning and at termination of a gbssysbuild, gbssysmake or gbssysaudit job (Used by tools like SoftFab, Hudson, BuildForge and CruiseControl)The command will be appended with the following information:
Note that for one submit all jobname and datetime will be the same Where:In the switch.gbs file or the site.gbs file.Define:
Note:As the GBS_BG_NOTIFIER will be executed from different processes, no assumption can be made on the order in which they are executed! |