Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Remote Workspace
Remote Workspace [message #323775] Tue, 08 January 2008 09:36 Go to next message
Eclipse UserFriend
Originally posted by: mlong1958.gmail.com

I'm not sure if this is the right newsgroup to ask, but...

I am developing a plug-in for a project our company is working on
(O'Reilly Media). What I need to do is have the *entire* workspace
reside on a remote Linux server. Is this possible to do programmatically
via the plug-in? For example:
ResourcesPlugin.getWorkspace().getRoot().getLocationURI() would return
the URI of the workspace on the Linux server. If this is possible, can
someone point me in the right direction? It seems like this should be
possible through some implementation of EFS but I'm kind of up against a
brick wall as to which.

Thanks,

Michael Long
Software Engineer
O'Reilly Media Inc.
O'Reilly School of Technology
Re: Remote Workspace [message #323790 is a reply to message #323775] Tue, 08 January 2008 13:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Michael Long wrote:
> I'm not sure if this is the right newsgroup to ask, but...
>
> I am developing a plug-in for a project our company is working on
> (O'Reilly Media). What I need to do is have the *entire* workspace
> reside on a remote Linux server. Is this possible to do programmatically
> via the plug-in? For example:
> ResourcesPlugin.getWorkspace().getRoot().getLocationURI() would return
> the URI of the workspace on the Linux server. If this is possible, can
> someone point me in the right direction? It seems like this should be
> possible through some implementation of EFS but I'm kind of up against a
> brick wall as to which.

The workspace resides wherever the user creates it. I don't think a
plugin can have any impact on that because Eclipse needs to have a
workspace before it loads plugins (at least, that is the observed
behavior: the launcher asks for the workspace location first).
In the early days (Eclipse v2.x and earlier) it was usually recommended
against having a non-local workspace for performance reasons (Eclipse
does LOTS of file IO continuously), but I've seen an increasing number
of users talk about doing it with at least some success.

Hope this helps,
Eric
Re: Remote Workspace [message #323792 is a reply to message #323790] Tue, 08 January 2008 14:36 Go to previous message
Eclipse UserFriend
Originally posted by: mlong1958.gmail.com

Thanks for your reply. Someone emailed me and recommended a SAMBA share
and I am researching how to set that up for testing. My brain must be
fried for not thinking of it myself. If we have to, we can probably have
our students set the workspace themselves but we are trying to minimize
the frantic customer service calls and keep the frustration level down
on both sides so the more automatic we can keep it, the better. We have
a working system that handles the transfer of projects back and forth on
a project submission and grading, but it would be handy to just give
them a workspace on the server so they can work from anywhere without
any synchronization problems.

I know on a workspace change, eclipse reloads, so we would have to check
to see if it is on our workspace and if not, change it and have Eclipse
reload.

We are still in the brainstorming stage of this so nothing is set in
stone, especially since I just spent 5 months getting the current
implementation working, tested, and debugged.

Thanks again,

Michael A. Long
Software Engineer
O'Reilly Media Inc.
O'Reilly School of Technology

Eric Rizzo wrote:
> Michael Long wrote:
>> I'm not sure if this is the right newsgroup to ask, but...
>>
>> I am developing a plug-in for a project our company is working on
>> (O'Reilly Media). What I need to do is have the *entire* workspace
>> reside on a remote Linux server. Is this possible to do
>> programmatically via the plug-in? For example:
>> ResourcesPlugin.getWorkspace().getRoot().getLocationURI() would return
>> the URI of the workspace on the Linux server. If this is possible,
>> can someone point me in the right direction? It seems like this should
>> be possible through some implementation of EFS but I'm kind of up
>> against a brick wall as to which.
>
> The workspace resides wherever the user creates it. I don't think a
> plugin can have any impact on that because Eclipse needs to have a
> workspace before it loads plugins (at least, that is the observed
> behavior: the launcher asks for the workspace location first).
> In the early days (Eclipse v2.x and earlier) it was usually recommended
> against having a non-local workspace for performance reasons (Eclipse
> does LOTS of file IO continuously), but I've seen an increasing number
> of users talk about doing it with at least some success.
>
> Hope this helps,
> Eric
Previous Topic:NullPointerException when I install my update site
Next Topic:IWorkbenchPage.getAggregateWorkingSet() has no visibility into JDT's WorkingSetModel.getAllWorkingSe
Goto Forum:
  


Current Time: Wed Jul 16 12:02:57 EDT 2025

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

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

Back to the top