Migration using the command line
- Script check out from current tool and place in directory on the file system. ( script complete)
- Login RTC repository. (script complete)
- Connect to RTC project area and create repository workspace flowing to a stream with one component. (script complete)
My question is what would the next step probably be? I would think it would be as follows
-
Taking local files and checking in and delivering them to the stream.
- Placing and snapshot on those files that were imported
To do step one in the last section what would be this command line action? Would you have to create a sandbox first and move the files? Or could you check in and deliver from anywhere on the file system into the stream?
Accepted answer
Hi Sean,
For the step one "1. Taking local files and checking in and delivering them to the stream. ", you don't need to create a local sandbox.
You can use the command "lscm share <workspace> <component> <local-directory>" to add the files you checked-out from previous tool to the RTC component. The files will be in checked-in state and a sandbox is created in that directory.
Then you can run command "lscm deliver" to deliver the change set to the stream.
Please refer to http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/topic/com.ibm.team.scm.doc/topics/share.html about how to use "scm share" command.
Regards,
Lily