It's all about the answers!

Ask a question

I want to compare two baselines and write the output to a excel file using scm command line? Couls you please help me?

Anbarasu Arivoli (811528) | asked Jun 22 '15, 7:56 a.m.
edited Jun 22 '15, 7:57 a.m.
 Dear All,

I want to compare two baselines in RTC 5.0.2 and the compare logs should be written to a excel sheet. How this is possible using scm command line.

I am able to do this in eclipse but not sure how to do it using scm command line?

Thanks in Advance.


One answer

permanent link
Shashikant Padur (4.2k27) | answered Jun 22 '15, 11:08 p.m.
 You can use 'scm compare baseline <baseline1_name_or_alias_or_uuid> baseline <baseline2_name_or_alias_or_uuid>. You can redirect the output to a file.
If you specify the baseline name then you need to also specify the -c/--component option.
To know/list the baseline uuid, you can run 'scm list baseline' command.

Alan Sampson commented Jun 25 '15, 2:24 p.m.

There appear to be a number of resources on the web to read JSON into Excel.  You could try one of these on the output from the -j option (enable JSON output) of the lscm compare command.

Your answer

Register or to post your answer.