It's all about the answers!

Ask a question

comparing a file in RTC to a file on the file system


Andy Moynahan (6312219) | asked Mar 17 '10, 4:31 p.m.
Hello,

Is it possible to do a diff in RTC to a file on the file system.

I see that I can do a "Compare with...->Remote File."
However, that use case compares the file in question with a file in component identified by a baseline, snapshot, workspace or stream.

In other words, it compares a file under CM control to a file within a component under RTC SCM control.

Is there a way do essentially:

Compare With... -> Browse to file on hardd rive (like c:\temp\myfile.java)

I believe the customer gets code drops from contractors/vendors that are outside of their current CM tool. They'd like to dump a new code drop in someplace like C:\new_code_drop\ and then be able to compare it to what they are working on in RTC.

I can't find a way to do that.

Thanks

Andy

2 answers



permanent link
Michael Valenta (3.7k3) | answered Mar 18 '10, 9:02 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Andy,

There is no way to do this directly. You could load the content from the
repository into one project and put the file in question in another and
use Compare with>Each Other.

Michael

AmblerMan wrote:
Hello,

Is it possible to do a diff in RTC to a file on the file system.

I see that I can do a "Compare with...->Remote File."
However, that use case compares the file in question with a file in
component identified by a baseline, snapshot, workspace or stream.

In other words, it compares a file under CM control to a file within a
component under RTC SCM control.

Is there a way do essentially:

Compare With... -> Browse to file on hardd rive (like
c:\temp\myfile.java)

I believe the customer gets code drops from contractors/vendors that
are outside of their current CM tool. They'd like to dump a new code
drop in someplace like C:\new_code_drop\ and then be able to compare
it to what they are working on in RTC.

I can't find a way to do that.

Thanks

Andy

permanent link
Walter Mansur (63613017) | answered Mar 18 '10, 9:51 a.m.
Hi,

What about external tools like Windiff, BeyondCompare, etc...? For example, you have your local repository on your local hard drive (i.e., C:\RTC\Component\file.java). You should be able to use an external tool like Windiff to compare that file with "c:\temp\myfile.java"

-Walter

Andy,

There is no way to do this directly. You could load the content from the
repository into one project and put the file in question in another and
use Compare with>Each Other.

Michael

AmblerMan wrote:
Hello,

Is it possible to do a diff in RTC to a file on the file system.

I see that I can do a "Compare with...->Remote File."
However, that use case compares the file in question with a file in
component identified by a baseline, snapshot, workspace or stream.

In other words, it compares a file under CM control to a file within a
component under RTC SCM control.

Is there a way do essentially:

Compare With... -> Browse to file on hardd rive (like
c:\temp\myfile.java)

I believe the customer gets code drops from contractors/vendors that
are outside of their current CM tool. They'd like to dump a new code
drop in someplace like C:\new_code_drop\ and then be able to compare
it to what they are working on in RTC.

I can't find a way to do that.

Thanks

Andy

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.