Workspaces on networked drives [message #266032] |
Tue, 04 November 2008 01:49  |
Eclipse User |
|
|
|
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 11:19   |
Eclipse User |
|
|
|
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 04:06  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.12255 seconds