top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How we can import source code in clear case?

+2 votes
369 views

I have one project source code and wants to import whole source code in Clearcase with same directory structure.?

posted Jan 18, 2014 by Kali Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote
 
Best answer

For importing source code in clear case we need run below command it will import whole source code directory in clearcase recursively .

clearfsimport -follow -r -nsetevent soucrce_code_directory vob-direcory

This above command will do following operation:
1. checkout the parent directory
2. checkout that element in that directory and check in that element.
3. Check in that directory as well once all file element has been imported
4. follow option that symbolic link as well and make it clearcase element.
5. nsetevent will mention the time stamp of that elements.

For getting more option please see man page of clearfsimport .

answer Jan 18, 2014 by Amit Kumar Pandey
+1 vote

clearfsimport command can be used to import a directory recursively into vob at the intended path.

answer Jan 18, 2014 by Vimal Kumar Mishra
...