Removing a directory for a package and reconciling its contents

You can set IBM® Rational® Rhapsody® so that when an existing package as directory is converted to a flat package (you cleared the Store in separate Directory check box on the Unit Information window in Rational Rhapsody) the directory is removed but the package file (inside the directory) is moved to the parent directory.

About this task

This operation is based on properties you set depending on whether you use batch mode or the SCC API in SCC mode.

Batch mode SCC mode
Set the ConfigurationManagement::ClearCase::StoreInSeparateDirectoryActivation property. You can set the property so that Rational Rhapsody removes the directory and then moves the content of this directory into the parent directory. Set the following properties, depending on the configuration management tool you use:
  • If you are using IBM Rational ClearCase®, set ConfigurationManagement::SCC::StoreInSeparateDirectoryActivation and ConfigurationManagement::General::UseHybridModeWhenPossible. You can set the StoreInSeparateDirectoryActivation property so that Rational Rhapsodyremoves the directory and then moves the content of this directory into the parent directory.
  • If you are using IBM Rational Synergy, set ConfigurationManagement::SCC::StoreInSeparateDirectoryActivation. You can set the property so that Rational Rhapsody removes the directory and then moves the content of this directory into the parent directory.
Note: Files that are not added to the archive in this directory (which will be removed) will not be moved by the configuration management tool. Therefore, if there are any such files, they might be lost after this directory is removed from the archive.

Feedback