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

Inconsistant displaying of lock dialog in Eclipse

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.

Once I attempt a lock on an already locked file, then the dialog appears for the artifacts. Is there a way to display locks I am not aware of?

0 votes


Accepted answer

Permanent link
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.

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.a.phillips@accenture-dot-com.no-spam.invalid> wrote:

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.

Once I attempt a lock on an already locked file, then the dialog
appears for the artifacts. Is there a way to display locks I am not
aware of?
David Lafreniere selected this answer as the correct answer

0 votes


2 other answers

Permanent link

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?

--
Aaron

0 votes

Comments

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?

--
Aaron



Yes, this is the "Resource" perspective. I have loaded my workspace as an Eclipse project, and am interacting with it via this perspective.


Permanent link
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
either the locked icons or the text "Locked by <user>"
in the Eclipse "Resource" workspace.

Once I attempt a lock on an already locked file, then the dialog
appears for the artifacts. Is there a way to display locks I am not
aware of?

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,019
× 1,202
× 67
× 56

Question asked: Oct 23 '09, 2:56 p.m.

Question was seen: 8,158 times

Last updated: Oct 10 '17, 1:36 p.m.

Confirmation Cancel Confirm