rpp --synchronizeAllSourceCode

This command synchronizes, by default, all the source codes with their designs and generates again the source codes that are not synchronized. The new generation does not modify the generation date and the Pacbase constants if they constitute the only modifications to be integrated into the COBOL file. In this case, the COBOL files are generated again as they were and only the corresponding .cblpdp files are modified. This command uses the local indexes of the generated code. So, it the source code of your workspace is not indexed, you must first run the --rebuildGeneratedLinks command.

Syntax

rpp.bat --synchronizeAllSourceCode [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--data Full path to the workspace Yes No default value
--log Log file name No trace.log
--location Target location Yes No default value
--projects List of the projects whose source codes must be synchronized with their design. They must be separated with commas.

If this option is not specified, all the source codes are synchronized.

No No default value

The procedure produces the optional log file that you can specify and a .synchronizeAllSource.log file. This file is created in the .metadata directory of your workspace. It lists the COBOL files that were modified by the new generation and the COBOL files that were generated again as they were.

Example

rpp.bat --synchronizeAllSourceCode --location MyLocation --data c:\MyWorkspace --log C:\temp\trace.log

Feedback