Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

SCM Command Line- Move Files/Folders between components getting error

I am trying to run the scm commands as mentioned in the RTC 6.0.2 release notes But getting error saying it is not finding the component.

scm move repository-path -w "My Workspace"

-S "Team Component" -D "Other Component"
/JavaMan/src/a/b/E.java /Project/src/a/b/


Please let me know how to proceed with this or any hints where I am going wrong. 
scm move repository-path

0 votes


Accepted answer

Permanent link
Looks like when the name of the component is used it is not correctly handled.
I believe if you specify the alias or uuid of the component it will work. In your case, 1057 is the alias of the source component. Please note that if you plan to use this in a script use the uuid and not the alias.
vijayakumar ramesh selected this answer as the correct answer

0 votes

Comments

Now I am getting this error , though that file structure exists

That File structure exists in that component, don't know why it is giving error for this.
One clarification Do I need to load the repository workspace locally for this command to run?
I have run this command in both scenarios loading and without loading repository workspace.
please mention if any preconditions required which I could be missed by me.

Hey Shashikant Thanks lot for your comment .it was helpful. For above comment from me there was space in Name which I was missing "Test A".

 I have raised a defect on the component name issue:  https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/396066

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014
× 1,201
× 158
× 113
× 12

Question asked: Jul 12 '16, 11:17 a.m.

Question was seen: 3,153 times

Last updated: Jul 14 '16, 3:18 a.m.

Confirmation Cancel Confirm