You can rename a project. After you rename the project, the root directory is renamed automatically to reflect the new name of the project. If you attempt to rename a project that is writable by you, but has a root directory that is not writable, the operation fails. You must check out the root directory first, then after you rename the project, the root directory is automatically renamed.
Note: If the project is used as a subproject, you must check out the parent directories that use the renamed project and update them to use the renamed project.
About this task
ccm mv|move|ren|rename -p|-project [-task task_spec] project_spec new_project_spec
- new_project_spec
- Specifies the properties to use for the renamed project, as follows:
- a name
- a name, version delimiter, and version
- a name, colon, and version.
- project_spec
- Specifies the project to rename. See Project specification for details.
- -task task_spec
- Specifies the task with which the renamed project root directory is associated. If not specified and a current task is set the current task is used by default. See Task specification for details.