What is the best way to move parts between components?
What is the best way to move parts between components?
We are trying to split one of our large components into 2 smaller components, so we need to move a large number of files from one to the other.
1. We have tried copy and paste in the RTC Project Explorer.
2. We tried using import and export options.
3. Simply doing DOS mv and lscm copies from a command prompt.
It appears the file loses it's associated properties once it has been moved. The lscm command does not work at this time and I have been advised that it may allow a move with the properties when RTC 4.0.3 is officially released soon.
We are trying to split one of our large components into 2 smaller components, so we need to move a large number of files from one to the other.
1. We have tried copy and paste in the RTC Project Explorer.
2. We tried using import and export options.
3. Simply doing DOS mv and lscm copies from a command prompt.
It appears the file loses it's associated properties once it has been moved. The lscm command does not work at this time and I have been advised that it may allow a move with the properties when RTC 4.0.3 is officially released soon.
One answer
I don't think a move to another component is fully supported in the command line (see 233895: Perform "Moving projects to other components" from scm command line). If you're ok using the Eclipse client, you can move a folder in the component root to another component by right-clicking on it in Package Explorer and using Team > Move in Repository... to select another component. However, this is only supported on folders in the component root.