Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » shareable readonly workspace?
shareable readonly workspace? [message #218915] Tue, 08 July 2008 16:42 Go to next message
Eclipse UserFriend
Originally posted by: maggie.eclipse.gmail.com

Hi,

Is it possible to have an Eclipse workspace that is shareable with multi
users? I am in particular interested in suggestion works with CDT.

The reason I am asking for this is that in an environment with huge
project source, we would like to maintain a "research" workspace which
has project(s) see and index the entire source code. The "research"
workspace would be updated/synchronized nightly with the source
repository. New index database is also built nightly.

Each developer could choose to have smaller projects that see a subset
of the entire source base. When s/he needs to explore code out side of
his/her workspace, s/he would refer to the "research" workspace.

I have tried the approach of exporting the project with prebuilt index
from the "research" workspace and importing it to individual user's
workspace. The problems with this approach are :

1. duplication of the huge index database (over 1G) in every user's
workspace (here we are talking about hundreds of users).
2. user has to import the project every day to keep in sync with the
latest/greatest "research" workspace.
3. user has to take care of cleaning up out-dated projects imported from
the "research" workspace.

Any other suggestion/pointers on the best practice of using Eclipse with
large projects?

Thanks
Maggie
Re: shareable readonly workspace? [message #218926 is a reply to message #218915] Tue, 08 July 2008 16:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Maggie wrote:
> Hi,
>
> Is it possible to have an Eclipse workspace that is shareable with multi
> users? I am in particular interested in suggestion works with CDT.
>
> The reason I am asking for this is that in an environment with huge
> project source, we would like to maintain a "research" workspace which
> has project(s) see and index the entire source code. The "research"
> workspace would be updated/synchronized nightly with the source
> repository. New index database is also built nightly.

There are a few problems with this.
a) a workspace can only be in use by a single instance of Eclipse at any
one time, so only one user would be able to be looking at it at a time.
b) workspaces are not designed or intended to be shared; they contain
machine-specific and Eclipse-installation-specific information.
c) hosting a workspace on a network drive has traditionally been
recommended against; it can introduce performance degradation because of
the huge amount of disk I/O that Eclipse does. It may be more feasible
in the later releases than it used to be, but I'd bet the chances of
performance problems increases with really large workspaces (as you seem
to have).

Sorry, but I don't have any other ideas to meet the need you describe.

Eric
Re: shareable readonly workspace? [message #218947 is a reply to message #218926] Tue, 08 July 2008 22:25 Go to previous message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

> a) a workspace can only be in use by a single instance of Eclipse at
> any one time, so only one user would be able to be looking at it at
> a time.

You can however share projects between multiple workspaces (one per
user, using Import > Existing project).

A better approach is to use a SCM like CVS or SVN to share entire
projects with others.

If you need peer editing (many people concurrently editing the same file
in realtime), look at the ECF project.

If you need to share workspace contexts, look at Mylyn -- it lets you
attach contexts to bugs so that users working on the same code can see
exactly what the other user is doing (what files they've marked as
important or landmark within their workspace projects).

Nick

Eric Rizzo wrote:
> Maggie wrote:
>> Hi,
>>
>> Is it possible to have an Eclipse workspace that is shareable with
>> multi users? I am in particular interested in suggestion works with CDT.
>>
>> The reason I am asking for this is that in an environment with huge
>> project source, we would like to maintain a "research" workspace which
>> has project(s) see and index the entire source code. The "research"
>> workspace would be updated/synchronized nightly with the source
>> repository. New index database is also built nightly.
>
> There are a few problems with this.
> a) a workspace can only be in use by a single instance of Eclipse at any
> one time, so only one user would be able to be looking at it at a time.
> b) workspaces are not designed or intended to be shared; they contain
> machine-specific and Eclipse-installation-specific information.
> c) hosting a workspace on a network drive has traditionally been
> recommended against; it can introduce performance degradation because of
> the huge amount of disk I/O that Eclipse does. It may be more feasible
> in the later releases than it used to be, but I'd bet the chances of
> performance problems increases with really large workspaces (as you seem
> to have).
>
> Sorry, but I don't have any other ideas to meet the need you describe.
>
> Eric

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Previous Topic:Eclipse Print on Linux
Next Topic:Re: regarding eclipse generated makefiles
Goto Forum:
  


Current Time: Wed Jul 16 14:11:33 EDT 2025

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

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

Back to the top