Move Elements

To move WebSphere Studio files that are under ClearCase source control, you can manually move elements or you can run a script that automates the process. 

To run a script that automates the process of moving WebSphere Studio files that are under Rational ClearCase source control, take the following steps:

  1. Within WebSphere Studio, move the source file(s) to the new location.
  2. From the command line, move to the directory that contains the source file(s) that you are moving and execute the following command:

ccperl <script-pname>ccmove.pl <source1> <source2> ... <target-dir-pname>

where <script-pname> is the path name to the directory that contains the ccmove.pl script, <source1> is the name of the first file you are moving, <source2> is the name of the second file you are moving, and <target-dir-pname> is the path name to the destination directory. Note that the source files are separated by spaces and that the <target-dir-pname> must end in a directory name.

ClearCase moves the source file(s) to the directory specified by the target-dir-pname

Note: To run this script successfully, the following conditions must be met:

Related tasks
Manually Renaming or Moving Elements