rational team concert eclipse can not discover changes to file
Steven Liddle (13●1●2)
| asked Oct 02 '15, 6:12 p.m.
edited Oct 20 '15, 10:22 a.m. by Chris McGee (505●1●11●17)
I am using Rational Team Concert v4.0.6 for Eclipse.
I have a file like foo.jar file that I manage outside of the RTC eclipse client. When I make changes to this file I need to have Rational Team Concert recognize that the file has changed and be able to check-in and deliver the changes. I had at one point put this file in a .jazzignore file to intentionally ignore it but I have made sure to remove it from the .jazzignore file and in fact removed all .jazzignore files from the entire tree. When I make edits to a few other files in the same directory RTC recognizes the changes. If I add a new jar file to the same directory RTC recognizes the changes. It is only the one file that is being ignored. I have even experimented: Change a foo.txt file in the same directory - RTC discovers the change. Add foo.txt to the .jazzignore file - RTC no longer notices the change. Remove foo.txt from the .jazzignore file - RTC again discovers the change. But this does not seem to apply to foo.jar. I have even wiped my entire installation of RTC, removed the entire directory, and re-installed and I still can not pick up changes. |
Accepted answer
I have some files I work on outside of Eclipse but track in RTC. I find that right clicking the project in the Project Explorer and hitting Refresh causes Eclipse to scan the file system and detect that changes were made, which makes the changes suddenly show up in the Pending Changes view.
Window > Show View > Other and search for the Project Explorer. It's part of Eclipse, the default project viewing window. Steven Liddle selected this answer as the correct answer
Comments
Steven Liddle
commented Oct 21 '15, 6:15 p.m.
Thank you June. This was something new to try and brought up an idea to try both loading the component and creating an eclipse project to then explore as you said and try without creating a project to see if it could find the change either way. Neither, unfortunately worked for me.
June Boston
commented Oct 21 '15, 7:24 p.m.
The grey cylinder (I think it's the universal 'database' icon) indicates it is on the ignore list. You can add and remove it to the ignore list via right click menu > Team. There are outgoing and I believe incoming arrows when there are changes in your sandbox or upstream to deliver/accept. The yellow cylinder icon indicates it is synced.
Steven Liddle
commented Nov 04 '15, 10:01 a.m.
That was it!
|
One other answer
Is the timestamp of "foo.jar" changed when edited by external tools?
I had an experience that RTC eclipse client doesn't discover changes to file when timestamp is not changed by an external tool. Comments
Steven Liddle
commented Oct 05 '15, 9:37 a.m.
Good thought but yes the time stamp is updated when changes are made
Ralph Schoon
commented Oct 05 '15, 11:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you refreshed the view that shows the Jar file? That is what the answer is about.
Not entirely sure which view you are referencing:
The refresh button in the pending changes view defaults to only refreshing changes made to the repository workspace and its flow target on the server to see if there are new change sets. It doesn't scan the local sandboxes.
Steven Liddle
commented Oct 21 '15, 6:12 p.m.
Yes I have done both. I have refreshed to scan the local with the "Refresh sandbox and remote changes". I actually also have the preferences set up to automatically do this scan every minute or so to automatically detect these local changes done outside of RTC Eclipse client without having to press that refresh button but neither relying on the automatic process, nor specifically requesting the refresh of the sandbox works |
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.