When creating a new package unit, if the project uses a hierarchical directory structure, both a file and a directory are created in the project. You need to create this new directory in the configuration management file structure.
To add a new package and package directory to a configuration management archive in Microsoft Common Source Code Control (SCC) mode, add the unit file to the repository using the Add to Archive operation. The Add to Archive operation creates directories automatically in the configuration management system, as necessary.
When you use a configuration management tool in batch mode, directories are not automatically created in the configuration management archive. However, IBM® Rational® Rhapsody® assists you with creating new directories using the ConfigurationManagement::<configuration management tool>::MakeCMShadowDirActivation property.
The possible values are as follows:
Once you have created the new directory in the configuration management archive, you can archive the new package unit and any of its child unit files using the Add to Archive operation.