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

How we can load specific folder from component using RTC command line?

In Stream "A" having 2 component "a" and "b".
From component "a" I want to load only one folder "c"
From component "b" I want to load only one folder "d"
How we can achieve this using RTC command line?

0 votes

Comments

 Hi Jazz Team, Please help on above use case. Previously We done same this using SVN. Now We are not able to configure our build using RTC. In our batch file we have to configure this specific folder should be load and later new changes should be accept.


Accepted answer

Permanent link

You can refer the below article to load specific component https://jazz.net/library/article/1016#CLI 

Based on the command mentioned in the above article you can create a batch script. Hope this helps

pravin gaykar selected this answer as the correct answer

0 votes


One other answer

Permanent link
You can create a load rule file and specify what files you would want to load from each component. Then you can use >lscm load with -L option to use the load rule and your workspace will be loaded based on the load rule. You can learn more about load rules here - https://jazz.net/library/article/1015

0 votes

Comments

 Thanks for earlier.

I am not able to find how we can add specific folder path for loading.
I want to create batch script, for build purpose. Below is usecase,
1. connect rtc server 2. connect project area 3. only once create workspace and load specific folder from component 4. accept latest changes only.

I posted some examples in answer to another forum question - 

The load rule file needs to have rule for each component in your stream. If you do not wish to load a particular component, simply don't mention that component in the load rule file. Hope that is what you are looking for. 

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
× 6,121
× 1,700

Question asked: Apr 15 '15, 5:42 a.m.

Question was seen: 6,006 times

Last updated: Apr 22 '15, 3:21 p.m.

Confirmation Cancel Confirm