It's all about the answers!

Ask a question

How do I export a text list of file name and paths that have been modified between two baselines?


Leon Fairley (133) | asked Mar 23 '16, 1:10 p.m.
 I'm using RTC 5.0.2 Eclipse and I am attempting to generate a list of the files (and their paths) that were modified between two baselines. If I do a Compare between the two baselines it generates the modified change list, but I can only use the "copy text" command on the summary line. I need the folder structure and file name.
E.g. Show baselines, select _int-R16.2.1.0.11_20160323-08.06 and select _int-R16.2.1.0.02_20160307-22.38 right click and Compare. In the resulting list of change sets, I need to export the file name and directory structure; however, the copy text contextual menu option only works on the change set summary.

3 answers



permanent link
Ralph Schoon (63.1k33645) | answered Mar 24 '16, 3:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would consider using the SCM Commandline for this: https://www.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html

permanent link
Surya Tripathi (65017) | answered Mar 24 '16, 5:08 p.m.
edited Mar 24 '16, 8:01 p.m.
 I am not sure if you can get full path from the command line, but you can try these two steps -

1. >lscm compare -r https://localhost:9443/jazz -u <user> -P <pwd> -c <Component>  baseline <Baseline1> baseline <Baseline2> -I s -S c

Where you can adjust arguments for -I and -S depending on how much information you want. This will list the changesets  -
(4227) TestJazzUser1 <TestJazzUser1@does-not.exist> cs1
(4228) TestJazzUser1 <TestJazzUser1@does-not.exist> cs2
(4229) TestJazzUser1 <TestJazzUser1@does-not.exist> cs4

2. You will now need to run another command to see changes in the changesets above -
>lscm list changes 4228 4229  -r https://localhost:9443/jazz -u <user> -P <password>

The result will look like this -
Change sets:
  (4228) ----$ TestJazzUser1 "cs2"
    Component: (4222) "TestPA Default Component"
    Modified: 24-Mar-2016 01:48 PM
    Changes:
      ---c- (4230) \<unresolved>\Activator.java
      ---c- (4231) \<unresolved>\SamplePropertyPage.java
  (4229) ----$ TestJazzUser1 "cs4"
    Component: (4222) "TestPA Default Component"
    Modified: 24-Mar-2016 01:49 PM
    Changes:
      ---c- (4230) \<unresolved>\Activator.java
      ---c- (4231) \<unresolved>\SamplePropertyPage.java



permanent link
David Dulling (13731212) | answered Mar 30 '16, 4:55 a.m.

Hi

I use the Save Change Log option from the Change Explorer window

1. Compare baselines

2. On the top right-hand corner of the Change Explorer window click the small down arrow and select Save Change Log option

3. From the next window select what it is you want to report (in your case the "Filesystem changes" option. I usually chose the Clipboard option in the Save Location section but you can output to a file directly

Is that what you mean?

D

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.