Creating Eclipse workspace over SSHFS

1.6k Views Asked by At

I have a Windows machine. On it there is SSHFS Manager (v 0.0.1.5) mounting on F: a shared directory. I would like to place my Eclipse workspace there. But Eclipse fails!

When I give F:\workspace path in the workspace selection dialog Eclipse shows error stating "Workspace at 'F:/workspace' in use or cannot be created, choose a different one."

Yet on the F: (and thus the remote directory) it did create an empty workspace\.metadata\.lock file (and nothing more). Also I have no issues in reading or writing from F: using Windows Explorer or Notepad++ (for example). This includes editing the .lock file itself.

How to make it work?

1

There are 1 best solutions below

1
On

Edit your eclipse.ini to add this line

-Dosgi.locking=none

This works for me with a Windows host, Ubuntu 14.04 guest, and Winsshfs 0.0.1.5.