It's all about the answers!

Ask a question

Load components


Carlos Musich (154) | asked Jan 11 '19, 5:50 p.m.
retagged Jan 25 '19, 10:29 a.m. by Ken Tessier (84117)

 

Hi,

I can load workspace successfully using command line. However I cannot find information about loading components (through command line). Is it possible?


Best regards,
Carlos

Accepted answer


permanent link
Shashikant Padur (4.3k27) | answered Jan 14 '19, 10:48 p.m.
JAZZ DEVELOPER
3. You can load individual components or multiple components using the load command. For ex: load <workspace> <component_name_or_uuid>
You can also load it into a specific directory under the sandbox using the -t/--target option.

4. Use 'scm create loadrules' command to create a load rule file.
Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
Ralph Schoon (63.6k33646) | answered Jan 13 '19, 5:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Since a component contains all versions, it can only be loaded in the context of a repository workspace or stream, which provides the configuration information selecting the changesets that make up the content, as far as I can tell.

Given that, your question does not make a lot of sense. What am I missing?

Comments
Carlos Musich commented Jan 14 '19, 4:45 p.m.
Hi Ralph,

thank you for you time and sorry for my lack of clarity. Let me explain.

In Eclipse I do the following tasks.

1. Create workspace from stream
2. Add some components to workspace
3. Load newly added components into newly created workspace using 'Load as..' option (right clicking on component)
4.Create loadrule for new components

So, I want to automate this process. I am able to perform steps 1 and 2 using command line and I would like to know if it is possible to perform steps 3 and 4

Thank you.

Best regards,
Carlos

Carlos Musich commented Jan 15 '19, 6:03 p.m.
Thank you very much Shashikant,

just one more question. Is there documentation providing these details? I looked into the link below but command 'laod' does not show these options.


Thanks!

Best regards,
Carlos

Ralph Schoon commented Jan 16 '19, 5:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The official documentation can be found here: https://www.ibm.com/support/knowledgecenter/SSYMRC/clm_family_welcome.html



I think the SCM command also provides a help.


Ralph Schoon commented Jan 16 '19, 8:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Carlos Musich commented Jan 16 '19, 9:59 a.m.

Thank you!

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.