Modifying the generation target in the project properties wizard

By default, the generated files are stored with the design files, in a root folder whose default name you can change. 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.

These properties apply to all the generated files of the project. They can be accessed from various interface elements:
  • The Definition tab of a generatable instance or the Generation tab of a Library. Click Change project properties.
  • The Design Explorer view (Pattern Driven Programming perspective) or the Project Explorer view (Resource perspective). Right-click the project and select Properties > Root paths properties.

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 other than the default folder is present in one of the subdirectories of the 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 recognized 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 recognized for the generated instance.

Select 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 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.


Feedback