Search code examples
clearcaseconfig-spec

Provide version to independent files in clearcase


I recently started usage of clear case tools for maintenance of code in better way. But after some days my "Company" forgot to take licence from IBM as result I cannot CHECK-IN my code into clearcase. To continue my coding i created a separate folder in other drive and copied code solution in that folder. I and my colleague modified around "9865" files of solution within "45" working days. Now a "Company" borrowed a licence for me and I able to access code clear case tool successfully.

Problem is:

How to check in my "9865" files into clearcase in better way?

I tried:

Copied all solution into Snapshot view folder location. but, all changed files are showing "hijack".


Solution

  • The best way is to use clearfsimport: that will automatically checkout, and import your 9865 in one command.

    Make sure to update your snapshot view first, in order to restore its original content.
    Then clearfsimport those files.

    clearfsimport -preview -rec -nset /path/to/sourceDir\* </myview/VOB>
    

    The clearfsimport command will detect the files added or modified, and do the checkouts for you.
    If you are using an UCM view, set an activity first.

    The source from where clearfsimport does that copy can be any regular folder.