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

RTC Client API: How to print all files and folders under a component in a workspace which contains a change set I have just submitted ?

Hello to the forum members,

I need to print all files and folders under a component in a workspace which contains a change set I have just submitted, and also print the list of changed artifacts in that change-set.

How do I do that using RTC client API ?

Thanks,
Gidi

0 votes



One answer

Permanent link
From the scm command line,
Use 'scm list remotefiles --workspace <your_workspace> <your component>' to list the file/folders in a workspace and component.
Use 'scm list changes <change_set_id>' to list the changes in the change set.

0 votes

Comments

Hi Shashikant,

Thanks for your reply. I forgot to mention that I'd like to use RTC API for achieving this goal.

Best regards,
Gidi

Hi Shashikant,

I tried the following call:

scm list remotefiles -w "Test100 Workspace" "ComponentA"
subcommand "remotefiles" requires argument-based initialization, but does not provide a directory argument.

What is missing in my call ?

Thanks,
Gidi

You need to specify the repository information. Specify -r <repoUri or repoNickName>. For help run 'scm help list remotefiles'.

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
× 10,943

Question asked: Feb 12 '14, 4:04 a.m.

Question was seen: 4,648 times

Last updated: Feb 16 '14, 11:04 p.m.

Confirmation Cancel Confirm