Inconsistant displaying of lock dialog in Eclipse
Shelby Phillips (296●2●46●21)
| asked Oct 23 '09, 2:56 p.m.
edited Oct 10 '17, 1:35 p.m. by David Lafreniere (4.8k●7) When I load a repository workspace as an eclipse project, I do not see either the locked icons or the text "Locked by <user>" in the Eclipse "Resource" workspace.
|
Accepted answer
Geoffrey Clemm (30.1k●3●30●35)
| answered Oct 31 '09, 12:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This problem is closely related to work item 77416 ("Prevent editing a
file when it is locked by another user"). Without that work item being implemented, loading the "locked" status of a file after it has been edited is too late ... they've already edited the file. What we tell users currently is to look for the "locked" icon on a file before editing it. But if that icon isn't there until after they've edited it, even that manual approach doesn't work. On the other hand, if work item 77416 were implemented, then the lazy query for locks is no longer a problem, because the user will be warned when they actually try to modify a locked file. Cheers, Geoff Andrew Hoo wrote: There is a Search>Jazz Source Control>Locks... that will find all locks. David Lafreniere selected this answer as the correct answer
|
2 other answers
Aaron Cohen (820●78●51)
| answered Oct 25 '09, 9:23 p.m.
JAZZ DEVELOPER edited Oct 10 '17, 1:33 p.m. by David Lafreniere (4.8k●7) I am a bit confused by your use of the word "Workspace." Are you referring to the Eclipse resource perspective and a specific view within that perspective?
Comments
|
There is a Search>Jazz Source Control>Locks... that will find all locks.
The locked state of the file is all server side information, so we cache and update decorators instead of greedily trying to figure out what is locked and not. These icons will be updated as those files are edited and becoming incoming our outgoing changes (but that's why you don't see any decorators on a freshly loaded workspace). On Fri, 23 Oct 2009 15:07:58 -0400, shelbyph <shelby> wrote: When I load a repository workspace as an eclipse project, I do not see |
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.