Skip to content

Improve workspace lock dialog.Β #2343

@raghucssit

Description

@raghucssit

If the workspace directory which we are trying to use is locked then we get the below dialog.
image

This dialog is good. But we can improve this dialog with some other information like

  1. user.name: This greatly help the user in case of multi user environment where multiple developers uses common workspace which is located on the network.
  2. host-name: This gives little more hint that from host that lock has been initiated.
  3. DISPLAY on Linux - gives a hint which VNC session is locking workspace
  4. JVM process id, so one could see which from many Eclipse processes on same host/user is holding the lock.

This will make user life easy if they know who has held the workspace and they can talk to the respective developer.

Plan:
We can write the above mentioned information onto .metadata/.lock file file. When any user successfully acquires the lock.
If the next user failed to get the lock, Then we can read this file and show this data (if available on current OS) inside error dialog above shown.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions