SetProject.bj

Action

Assign source files to projects based on a project control file (PCF). A project control file identifies the projects to which source files belong. It specifies the path to the source files rather than just their names so as to avoid issues resulting from having files with homonymous names.

SetProject.bj differs from ApplyPCF.bj in that it allows you to assign source files to projects additively, without deleting their links to existing projects. Use CreatePCF.bj or Related.bj to create a project control file.

Syntax

SetProject LogFile Workspace ProjectCF [Incremental]
Required Parameters Description

LogFile

Output log file generated when the batch script is executed.

Workspace

Workspace file (.rwp).

ProjectCF

Project control file (.pcf).

Optional Parameters Description
Incremental Assign source files to projects additively, without deleting their links to existing projects. Use the argument with no value to specify additive assignment. Omit the argument to specify overwrite assignment.