Copy RTC SCM component from one CCM to another CCM using script
Our RTC 5.0.2 environment is with multiple CCMs, and we are in the process of migrating some of the projects from one CCM to another CCM. As part of this streams and components needs to be copied to the destination CCM. We need to automate this process as RTC utility "Duplicate" does not support for large size components.
Automation of copying the components from one CCM to another can be achieved through Java API/scripts? What is the best way to automate the duplicating of stream with components from one CCM to another?
One answer
I assume you are using distributed SCM. Have you tried to use the SCM command line?
You would
You would
- Create a stream S1 with the component baseline on Server 1
- Create a repository workspace RW from that stream on Server 2
- Create an empty stream S2 on Server 2 and set it as flow target in the repository workspace
-
Deliver component additions and changes from RW to S2