Skip to content

Create build structure

Script ifs_create_build_structure.cmd/sh

The script ifs_create_build_structure.cmd/sh is located in component fndbas/build folder, and will in a build home be located in the build folder. It replaces the deprecated script create_build_structure.ps1/sh

When creating a build home, the script should be executed from the components structure, from fndbas/build folder.

When creating a delivery, the script should be executed from the build home/build folder.
If the ifs_create_build_structure or its sub scripts are changed in the delivery source code, the files will be updated, and if ifs_create_build_structure is changed the script will be automatically restarted using the new version.

The script accepts these arguments.

ParameterRequiredPurposeExamples/Defaults
--componentsMandatory
Optional if running from within component structure
Path to the components--components "c:\work\components"
--buildhomeMandatory when creating build_homePath to the build home.--buildhome "c:\work\build_home"
--deliveryMandatory when creating deliveryPath to the delivery.--delivery "c:\work\delivery"
--filelistnameOptionalA list of files generated from ifs_git_diff.cmd/sh script. Instead of copying all files it will only copy the files listed in the "file list".--filelistname c:\work\difflist.txt
--custcomponentsOptionalIf set, files to be copied from components will be ignored, if the files exist in the custcomponents--custcomponents "c:\work\custcomponents"
--overwriteOptionalIf set, files in the destination can be overwritten. By default this parameter is not set, hence the destination path must be created by the script itself.--overwrite
--logfileOptional - defaults to buildhome\build-files.log or delivery\build-files.logLog file name--logfile c:\work\logs\logfile.log
--helpWill show list of arguments

See examples: build a build_home and build a delivery