Full introduction to migration of VSS data to CC

Source: Internet
Author: User
Tags ibm developerworks

Tip: Use the following method to completely import the history of the VSS file to CC. 1. VSS import data to CC1.1. user permission settings

For VisualSource Safe, you must have full permissions on all projects/files in the Visual Source Safe system;

For the ClearCase side, perform operations as the ClearCase administrator;

Therefore, it is best to use the same account (with the same password) and have the above two permissions during migration.

1.2. date/time format settings

During the migration process, ClearCase has strict time requirements and uses short time formats. The specific settings are as follows:

1. Open the region settings attribute of the control panel and select English (US) as the region );

2. In the time bar, set the time style to "h: mm: ss tt ";
Set the time separator ":";
Set the morning symbol to "AM ";
Set the afternoon symbol to "PM ";
Note the case sensitivity of the preceding settings!

3. In the date column, set the short date style to "M/d/yy ";
Set the date separator "/";
After setting, you can view the time attribute of the file in the resource manager to check whether the preceding settings are correct. Correct modification should be: 5/21/01 AM

1.3. environment variable settings

To facilitate the operation, you can add the following system environment variables:

Variable name
Variable value
Function
path
Example: C: \ VSS \ win32;

Ss.exe path in VSS

Example: "C: \ Program Files \ IBM \ RationalSDLC \ ClearCase \ bin ";
Clearexport_ssafe.exe path in clearcase
 
1.4. export data from VSS

Perform these steps to export data from VSS:

  1. Open a command line and make sure that the PATH variable contains the PATH of your VSS installation directory.
  2. Use appropriate authentication methods to map the VSS repository to a network drive.
  3. Set the following environment variables:
    • Set SSDIR = V :\{ mapped drive of the VSS repository}/{local VSS repository directory}, for example: set ssdir = C: \ VSS_DATA or set ssdir = U :\
    • Set TMP = c: \ temp
    • Set SSUSER = <valid user name who has access to vss repository>, for example: set ssuser = ccadm
    • Set SSPWD = <VSS password of above user-id>, for example: set sspwd = 1
    • Set the project directory to be exported in VSS, for example, ss cp $/jsgs. Export the project named jsgs under the root directory.
    • Run the following command to verify the current project: ss cp
  4. Use the following command to export the VSS project directory to a folder:

Clearexport_ssafe-r-o C: \ VSS_TEMP \ jsgs, where VSS_TEMP is an existing Directory, jsgs is a new directory, and must be imported to the new directory

  1. If there is no error, the exported file will exist after the export command is completed successfully.
1.5. import data to CC

In this step, you need to import the data file exported in the previous step to the ClearCase repository.

Note: 1. You must change the English (US) to Chinese (China) in the region setting attribute; otherwise, the imported data is garbled.2. If you do not use UCM when creating your target ClearCase, this may be the last step in your transformation process. However, if this type of import is created by UCM, you must convert the Base ClearCase directory to the UCM component. Moreover, the clearimport command cannot be used in the UCM view environment, so that the import can only be run in the BaseClearCase view environment.

Now you can start the import process:

  1. Create Base ClearCase VOB, for example, sparknetpvob (if it is not created yet .)
  2. Create the Base ClearCase view ccadm_view2_sparknetpvob (if it is not created yet .)
  3. Open the command line and cd to the VOB directory, for example, cd M: \ ccadm_view2_sparknetpvob \ JSGS_C
  4. Run clearimport C: \ VSS_TEMP \ jsgs.
  5. The above operation data has been imported into the VOB of clearcase.
Reference: scmlife, IBM developerworks. I forgot my post...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.