Controlling moving a file or directory

When you move a file from one location to another in the file system, IBM® Rational® Rhapsody® activates the Move in configuration management operation.

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.

Table 1. Controlling moving a file or directory
Batch mode SCC mode
Set the ConfigurationManagement::ClearCase::MoveActivation property. You can set the property so that Rational Rhapsody does the moving automatically or prompts the user to confirm the action requested. Set the following properties, depending on the configuration management tool you use:
  • If you are using IBM Rational ClearCase®, set ConfigurationManagement::SCC::MoveActivation and ConfigurationManagement::General::UseHybridModeWhenPossible. You can set the MoveActivation property so that Rational Rhapsody does the moving automatically or prompts the user to confirm the action requested.
  • If you are using IBM Rational Synergy, set ConfigurationManagement::SCC::MoveActivation. You can set the property so that Rational Rhapsody does the moving automatically or prompts the user to confirm the action requested.
  • If you are using any other SCC tool, when you move a package that is in a separate directory, the product does not make any changes to the configuration management system. Instead, Rational Rhapsody displays an error message stating that the operation could not be executed in the configuration management system.

    If you change the model only, the product moves the package in the model but does not change the file system or configuration management system. If you change the model and the file system, Rational Rhapsody changes both the model and file system. For more information, see Failure to update the configuration management system.
Note: For this operation, the Undo command (Ctrl+Z) in Rational Rhapsody works only in the model, not in the archive. You cannot undo a move operation in the archive.

Feedback