Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Workspaces on networked drives
Workspaces on networked drives [message #266032] Tue, 04 November 2008 06:49 Go to next message
Thomas is currently offline ThomasFriend
Messages: 1
Registered: July 2009
Junior Member
I'm a college student who both dual-boots a MacBook Pro in XP and Leopard
as well as has to use lab computers running XP for programming in Eclipse.
As such, it would be much, much easier for me to keep my workspace on the
user drive for our campus network, rather than having to try to
synchronize workspaces across platforms. I've seen a few articles related
to this, and most hint that workspaces on network drives are not a
supported feature, but I was hoping to get some more info on it.

My main question is because I can use my networked campus drive (P:\) in
XP to harbor my workspace, and this works flawlessly with both my personal
computer and the lab computers. The only problem is in Mac OS, where I get
a "Workspace is in use or cannot be created" error. Apparently this is
because of a ".lock" file in the directory, which, even though I delete
it, reappears when I try to set the workspace.

Is there a way to get the Mac OS version of Eclipse to use a directory on
a networked drive for the workspace, or will I just have to keep switching
to XP to do my coding?
Re: Workspaces on networked drives [message #266214 is a reply to message #266032] Tue, 11 November 2008 16:19 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Thomas wrote:
> I'm a college student who both dual-boots a MacBook Pro in XP and
> Leopard as well as has to use lab computers running XP for programming
> in Eclipse. As such, it would be much, much easier for me to keep my
> workspace on the user drive for our campus network, rather than having
> to try to synchronize workspaces across platforms. I've seen a few
> articles related to this, and most hint that workspaces on network
> drives are not a supported feature, but I was hoping to get some more
> info on it.
>
> My main question is because I can use my networked campus drive (P:\)
> in XP to harbor my workspace, and this works flawlessly with both my
> personal computer and the lab computers. The only problem is in Mac
> OS, where I get a "Workspace is in use or cannot be created" error.
> Apparently this is because of a ".lock" file in the directory, which,
> even though I delete it, reappears when I try to set the workspace.
>
> Is there a way to get the Mac OS version of Eclipse to use a directory
> on a networked drive for the workspace, or will I just have to keep
> switching to XP to do my coding?
Are you sure that the workspace isn't still used by another computer? If
so, please file a bug report.

Dani
Re: Workspaces on networked drives [message #266228 is a reply to message #266214] Wed, 12 November 2008 09:06 Go to previous message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
Daniel Megert wrote:
> Thomas wrote:
>> I'm a college student who both dual-boots a MacBook Pro in XP and
>> Leopard as well as has to use lab computers running XP for programming
>> in Eclipse. As such, it would be much, much easier for me to keep my
>> workspace on the user drive for our campus network, rather than having
>> to try to synchronize workspaces across platforms. I've seen a few
>> articles related to this, and most hint that workspaces on network
>> drives are not a supported feature, but I was hoping to get some more
>> info on it.
>>
>> My main question is because I can use my networked campus drive (P:\)
>> in XP to harbor my workspace, and this works flawlessly with both my
>> personal computer and the lab computers. The only problem is in Mac
>> OS, where I get a "Workspace is in use or cannot be created" error.
>> Apparently this is because of a ".lock" file in the directory, which,
>> even though I delete it, reappears when I try to set the workspace.
>>
>> Is there a way to get the Mac OS version of Eclipse to use a directory
>> on a networked drive for the workspace, or will I just have to keep
>> switching to XP to do my coding?
> Are you sure that the workspace isn't still used by another computer? If
> so, please file a bug report.
>
> Dani

This problem sounds familiar to me. It can happen if the default locking
method is not supported by the file system. Unfortunately, Eclipse
handles this case a little ungraceful.
You can choose another locking method or disable locking at all using
the osgi.locking property.
See also this thread:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg24 376.html

HTH
--
Anton Leherbauer
Wind River Systems, Austria
CDT Committer - http://www.eclipse.org/cdt
DSDP/DD Committer - http://www.eclipse.org/dsdp/dd
Previous Topic:dark editor theme
Next Topic:default text editor vs file extensions (java)
Goto Forum:
  


Current Time: Sat Oct 19 11:22:13 GMT 2024

Powered by FUDForum. Page generated in 0.29659 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top