You use a project's properties, the project build configuration properties, or a folder's or file's properties to control the build behavior of projects. You access these by choosing Properties on the context menu for projects, folders and files. This is how setting these properties works:
You can set SQL preprocessor directives at the project level, even when the project settings are not configured to run the preprocessors. The use of the preprocessors can then be turned on at the file level, which inherits the project level preprocessor directives. This enables you to use the project level as a template for file-level settings.
When COBOL sources are copied into a project from outside the workspace, by default, a process known as directives determination is performed automatically. The IDE detects and sets the correct dialect and use of preprocessors. You can control this default behavior from Perform automatic directives determination setting to the desired option.
- set theYou can also trigger directives determination manually using the Determine Directives context menu command for projects, folder and programs in the COBOL Explorer view. You can turn off or configure this behavior using the Micro Focus > COBOL > Directives Determination page in the IDE preferences (click Window > Preferences).
This displays the Overridden options list.
The Automatically add new directories to copybook paths preference on the Window > Micro Focus > Builder page in the IDE preferences (click Window > Preferences) controls whether adding a directory to a project also causes the directory to be added as an enabled item onto the copybook paths of the project. If you add a new copybook in a new folder and your build fails, you should check whether this preference is enabled or disabled and also check the project copybook paths settings.
You can also control the initial position of new directories by using the Insert to the beginning of copybook paths list or Append to the end of copybook paths list. Once the directories are added, you can manually position them in the required order.