The sync command completely rewrites a work area for a project.
The default directory in which all project work areas are created is ccm_wa followed by the database name in your home directory. Use the sync command to manually synchronize the work area.
Before you begin
Only a build manager or a user in the ccm_admin role can sync a non-writable project.
About this task
ccm sync [-r|-recurse] [-nr|-norecurse|-no_recurse] [-s|-static]
[-p|-project] project_spec...
- -nr|-norecurse|-no_recurse
- Specifies not to recurse the project hierarchy during the project sync. Synchronize only the specified project.
- This setting is the default.
- -p|-project project_spec...
- Specifies the project that you want to synchronize.
- You can specify one or more arguments that are project specifications; each can specify one or more projects. See Project specification for details.
- -r|-recurse
- Causes all objects in the project hierarchy to be synchronized along with the specified project.
- -s|-static
- Updates an existing static work area with current data from the database. (A static work area is a local copy of the work area for a static subproject.) In addition, updates all static work areas in the hierarchy for which the ccm sync command was issued. Fully synchronizes all static work areas in the hierarchy by using one command. If no static work area exists in the hierarchy, this option is ignored.