Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to compare local file with file in stream?

Hi,

Is it possible to compare (in RTC eclipse client) the changes between 2 files, one present on my C:\ drive and other in stream?

0 votes


Accepted answer

Permanent link
From a file in the Package Explorer you can right-click it and select "Compare With" --> "Remote..." and then select "Component in another workspace or stream". From there you can pick the stream you want. This will work assuming that the file you have on disk (in Eclipse) is shared/loaded from a repository workspace.
Michael Valenta selected this answer as the correct answer

0 votes


One other answer

Permanent link
Hello,

I think that what you're asking is possible using these instructions:

1) Using a fresh eclipse workspace connect to your RTC server
2) Create an empty eclipse project to put the two versions of the file (File->New->Project...)
3) Using the Team Artifacts view navigate to the stream
4) Right-click and choose "Show->Repository Files"
5) In the repository files view navigate to the file
6) Right-click on the file and choose "Load" to download it to your local drive (pick a memorable location and file name for it)
7) Once the file is downloaded you can import both files into your eclipse project by using the File->Import...>File System wizard
8) Select both files in eclipse project/package explorer, right-click and choose Compare->Each Other...

The steps are not very optimal because usually SCM comparisons are done using the pending changes view with a repository workspace that flows with the stream. Then you have the change set information as well as the ability to see the differences in the file contents.

I hope that this helps,
Chris

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,027
× 1,204
× 35

Question asked: Sep 16 '15, 3:06 p.m.

Question was seen: 5,252 times

Last updated: May 24 '16, 11:13 p.m.

Confirmation Cancel Confirm