You can create an object and add it to the current project. You can create a project or a project member (directory or file), both of which are created as part of a project, or a floating object. A floating object is a new project that is not created as a part of a project.
- When you create a file or directory, it is added to the current directory, which must be part of a project.
- When you create an object in a non-shared project, its default state is working. When you create a file or directory in a shared project, its default state is visible if it is a non-product, and shared if it is a product.
- When you create an object in a non-writable directory, a new directory version is checked out automatically.
If you are in a shared project and your current directory is non-modifiable, the directory is checked out and associated automatically with the specified task. The directory is then checked in to the integrate state. You can disable the automatic check-in feature by setting shared_project_directory_checkin to FALSE in your initialization file.
- When you create a project, it is created as a floating object, but you can make it a subproject in an existing project by using use -p.
- When you create a project, a work area is created for it automatically. By default, the work area is located in My Documents\Synergy\ccm_wa\database\project_name-version (Windows) or ccm_wa/database/project_name-version (UNIX) in your home directory. (See Modifying work area properties for details.)
- To add members to a directory, it must be writable (that is, checked out). If you try to create an object in a non-modifiable directory, the directory is checked out automatically. Check in the directory and the new object to make the new object available to other users.
The create command supports these subcommands.