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

RFT/jazz Pending changes Command line/auto accept

 Hi:


I am just wondering if there were any type of command line/java code that i could use in order to update the pending changes that show up in the RFT eclipse application? If not then is there a settings i can change in order for it to do that automatically?

Reason being is that we want all the users that are in our group to not worry about if they accepted the most resent updates or not when we use their PC to run web ui scripts.

An example of what im talking about when i say Pending Changes:


Thanks.

0 votes



One answer

Permanent link
I believe you have installed the RTC app where you have RFT and the pending changes view is part of RTC SCM.
If so, you can use the RTC SCM command line tool to accept changes into your workspace. You can go to this link for more information: https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Fc_scm_cli.html

0 votes

Comments

  Thanks for the reply. However, when trying to execute the command I get the following error:

 Problem running 'load':
Could not log in to https://xxxx.xxx.xxx.xxxx:9443/ccm as user tdxxxxx: CRJxxxxxxx Cannot connect to the repository at URL "https://xxxx.xxx.xxx.xxxx:9443/ccm". This can happen if you have supplied an incorrect URI or if the server is down. Try logout and re-login with the updated credentials if the password has been changed.
CRJxxxxx Cannot connect to the repository at URL "https://xxxx.xxx.xxx.xxxx:9443/ccm
". This can happen if you have supplied an incorrect URI or if the server is down.
Check the log for details about the error at "C:\Users\tdxxxxx\AppData\Local\jazz-scm". If you have configured custom logging check your log configuration settings for the path to the log file.
And image of the error > https://i.stack.imgur.com/tjr63.png

There are couple of issues with your command.
To make it easier to connect to the repository you can cache your credentials by running the 'login' command: scm login -r https://your_repo_uri:9443/ccm -u your_username -n reponickname -c
If you do not login then you need to specify the -r and -u options while running each and every command.

Next to load the repository workspace:
scm load -r reponickname -d directory_to_load_the_repository_workspace your_repository_workspace_name_or_uuid
This loads all the components into the specified directory.

Note: It is better if you use 'lscm' rather than 'scm' as it will be faster after running the first command.
Also take a look at the following article: https://jazz.net/library/article/620

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,937
× 1,381

Question asked: Jul 17 '19, 2:02 p.m.

Question was seen: 3,054 times

Last updated: Jul 31 '20, 4:28 p.m.

Confirmation Cancel Confirm