Understanding include files
DevOps Code ClearCase® supports an include file facility, which makes it easy to ensure that all team members use the same config spec.
Include files contain config spec rules and are placed in a public location. Subsequently, team members replace their default config spec with a one-line rule that points to the include file.
Include files are identified by the .csp extension; however, include files are not required to have the .csp file extension.
For example, the config spec to be used by all team members is called major.csp and is located in a publicly accessible location /public/c_spec/. Each team member replaces the content of their config spec with the following line:
- Windows
-
include \\main_svr\public\c_spec\major.csp
- Linux and UNIX
-
include /public/c_spec/major.csp
If you create config specs to be shared between Linux and UNIX and Windows computers, where VOB tags are different, you must have two includes files, or you must store the include file in a Linux or UNIX directory that is accessible from both platforms.