It's all about the answers!

Ask a question

Load components


Carlos Musich (151) | asked Jan 11, 5:50 p.m.

 

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 (3.6k27) | answered 2 days ago
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 (53.6k13641) | answered Jan 13, 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 2 days ago
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 yesterday
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 yesterday
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 yesterday
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Carlos Musich commented yesterday

Thank you!

Your answer


Register or to post your answer.