It's all about the answers!

Ask a question

Load only certain subdirectory of component from command line

Tim Schumacher (122) | asked Nov 27 '13, 1:48 a.m.
retagged Dec 16 '13, 1:07 p.m. by David Lafreniere (4.8k7)
From a script, I wish to load just only just the contents of either SubdirA_1 or SubdirA_2

++++ Component

I have tried unsuccessfully: scm load "Stream/Component/SubdirA/SubdirA_1"

Do I need to use a "Load Rules" file to accomplish this?

One answer

permanent link
Shashikant Padur (4.2k27) | answered Nov 27 '13, 3:30 a.m.
The command arguments seem in correct. By the way, you cannot load a stream. You need to create a workpace from the stream and then load it. Try:
scm load Workspace Component/SubdirA/SubdirA_1

If you have to load many folders into different locations in your sandbox, it is best to use load rules. The load rules then can be shared across the team so that everyone loads the workspace in the same manner.

Your answer

Register or 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.