It's all about the answers!

Ask a question

How does RTC determine that a file has been modified?


David Sedlock (16112012) | asked Aug 11 '09, 4:06 a.m.
I tried touching a file, but this is not enough to get RTC to see a file as modified. (I know that if you change the file outside Eclipse you have to do a refresh in Eclipse before RTC sees a change.)

Is it actually checking that there is a diff? And what about binary files?

-David

One answer



permanent link
Jean-Michel Lemieux (2.5k11) | answered Aug 11 '09, 4:31 p.m.
JAZZ DEVELOPER
To avoid bogus check-ins with automated tools that "touch" or "rewrite"
files, we use timestamp/hash to detect changes instead of simply the
timestamp. We don't diff with the remote though, just keep the hash of
the previous contents.
Cheers,
Jean-Michel

On 8/11/2009 4:08 AM, David.Sedlock.infineon.com wrote:
I tried touching a file, but this is not enough to get RTC to see a
file as modified. (I know that if you change the file outside Eclipse
you have to do a refresh in Eclipse before RTC sees a change.)

Is it actually checking that there is a diff? And what about binary
files?

-David

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.