Modifying the generation target in the project properties wizard
By default, the generated COBOL files are stored with the design files, in a root folder whose default name you can change. Here you can indicate a specific root path that will contain only the generated files of the project. You can also indicate another root path that will contain the metadata files only.
- Definition tab of a generatable instance or Library, in the Design Explorer view. Click the Change project properties button next to the COBOL project field in the COBOL target.
- Project Explorer view (Resource perspective). Right-click the project and select .
You can specify a new root path even after the generation. The generated files of the project will automatically be moved to the new target.
- RPP folder
- This field contains the default folder of the Rational Programming
Patterns files. This folder contains the design files and is the default
target of the generated and metadata files.
You can change this default folder.
Note: You cannot change the rpp root path if a COBOL file generated in a folder different from the default folder is present in one of the subdirectories of rpp root path.
- Separate generated files from design files
- You can specify a root path for the generated files of this project.
This path is taken into account upon or after the generation, for
the instances that have kept their default COBOL folder. To see whether
it is the case, open the Definition tab of
the instance and see whether Default is displayed
between parentheses next to the folder in the COBOL folder field.
If you cannot see it, the path you enter here will not be taken into account for the generated instance.
Select the check box Separate generated files from design files. The Generated root path field then becomes available. You can leave the default gen path or enter another path. It can contain more than one level (GEN/CAN/PRO for example).
The path will be the first level (or levels) of the folders tree for the generated files in the project.
When you click OK, this path is automatically inserted at the beginning of the COBOL folder field in the Definition tab of the instance.
- Separate PDP metadata from generated files
- You can specify a root path for the metadata files of this project
if you want to separate them from the other generated files.
Contrary to the root path for the generated files, this root path always applies, even if the generation folder is not the default folder.
The path will be the first level (or levels) of the folders tree for the metadata files in the project.
If you separate the metadata files, you must always upload or download these files together with their corresponding generated files.
Select the check box Separate PDP metadata from generated files. The PDP metadata root path field then becomes available. You can leave the default pdp path or enter another path.