Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Multiple workspaces - one configuration
Multiple workspaces - one configuration [message #293110] Tue, 18 October 2005 14:31 Go to next message
Stanimir Stamenkov is currently offline Stanimir StamenkovFriend
Messages: 254
Registered: July 2009
Senior Member
Is it safe to operate multiple Eclipse instances at a time using
different workspaces but same configuration area?

--
Stanimir
Re: Multiple workspaces - one configuration [message #293116 is a reply to message #293110] Tue, 18 October 2005 14:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

Hello,

I'm running eclipse installations on same configuration parallel and
didn't have problems so far. Occasionally I have problems with restoring
the layout, when I update one of the eclipse installations without
shutting the other one down but besides that I didn't have a problem so
far.

Stanimir Stamenkov wrote:
> Is it safe to operate multiple Eclipse instances at a time using
> different workspaces but same configuration area?
>
Re: Multiple workspaces - one configuration [message #293121 is a reply to message #293116] Tue, 18 October 2005 15:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: varavamu.yahoo.com

when eclipse runs, it creates/modifies certain files within the
configuration area. if you run two instances using the same
configuration area, then the last instance that wrote to those files,
wins. So, I dont think its advisable to do this.

HTH,
Vijay

Stefan Langer wrote:

> Hello,
>
> I'm running eclipse installations on same configuration parallel and
> didn't have problems so far. Occasionally I have problems with
> restoring the layout, when I update one of the eclipse installations
> without shutting the other one down but besides that I didn't have a
> problem so far.
>
> Stanimir Stamenkov wrote:
>
>> Is it safe to operate multiple Eclipse instances at a time using
>> different workspaces but same configuration area?
>>
Re: Multiple workspaces - one configuration [message #293122 is a reply to message #293121] Tue, 18 October 2005 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I do it all of the time. I have over 10 different workspaces all on the
same configuration. The only caveat as mentioned earlier is if you do a
configuration change (i.e. install/uninstall something) when having more
than one workspace actually open can cause some blips until things are
caught up. So don't do changes while any workspaces are open, or have
only one workspace open when using the update manager.

--
Thanks,
Rich Kulp
Re: Multiple workspaces - one configuration [message #293124 is a reply to message #293121] Tue, 18 October 2005 15:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

Running multiple instances on the same configuration is supported. When
state in the configuration directory is changed, a new file is written
rather than modifying the old one (such as .state.1, .state.2, etc).
This allows other instances to continue operating against the older
state files while an instance is updating configuration state. So, it
should work. If you encounter problems when running multiple instances
on the same configuration, a bug report should be entered.

Note: it is possible for an arbitrary plugin to call
Platform.getConfigurationLocation and start blindly writing files there.
If the plugin did not use mechanisms to protect against concurrent
writes, that plugin would break when running multiple instances
concurrently, but it should not affect the platform itself.
--

Vijay Aravamudhan wrote:
> when eclipse runs, it creates/modifies certain files within the
> configuration area. if you run two instances using the same
> configuration area, then the last instance that wrote to those files,
> wins. So, I dont think its advisable to do this.
>
> HTH,
> Vijay
>
> Stefan Langer wrote:
>
>> Hello,
>>
>> I'm running eclipse installations on same configuration parallel and
>> didn't have problems so far. Occasionally I have problems with
>> restoring the layout, when I update one of the eclipse installations
>> without shutting the other one down but besides that I didn't have a
>> problem so far.
>>
>> Stanimir Stamenkov wrote:
>>
>>> Is it safe to operate multiple Eclipse instances at a time using
>>> different workspaces but same configuration area?
>>>
Re: Multiple workspaces - one configuration [message #308005 is a reply to message #293124] Fri, 08 September 2006 07:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: r_2.gmx.de

Hello all,

could you explain me how you setup multiple workspaces? I need this
also, but for me it is important, that I can work on many branches,
which are represent by one workspace.

regards
Re: Multiple workspaces - one configuration [message #308094 is a reply to message #308005] Tue, 12 September 2006 14:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Kaiser, Hans wrote:
> Hello all,
>
> could you explain me how you setup multiple workspaces? I need this
> also, but for me it is important, that I can work on many branches,
> which are represent by one workspace.

File > Switch Workspace... and choose a new location. Eclipse will
create a new workspace in the location you choose. You'll want to
export your preferences from the current workspace so you can import
them into the new one.

Hope this helps,
Eric
Re: Multiple workspaces - one configuration [message #661531 is a reply to message #293110] Fri, 25 March 2011 08:01 Go to previous messageGo to next message
Philipp Weixlbaumer is currently offline Philipp WeixlbaumerFriend
Messages: 2
Registered: March 2011
Junior Member
Hey, just found this thread using google and i wanted to ask if there's any changes on this? I'd really would like to use multiple workspaces with one setting. Especially the customized formatter and save actions would be very helpful.

Is there any way to realize this without copying the settings folder but using the same setting folder (location) in multiple workspaces? Using Dropbox on my computers this would be awesome Smile Thanks in advance.
Re: Multiple workspaces - one configuration [message #662611 is a reply to message #661531] Thu, 31 March 2011 09:44 Go to previous messageGo to next message
Mikhail Kalkov is currently offline Mikhail KalkovFriend
Messages: 13
Registered: February 2011
Junior Member
File --> Export --> General --> Common Preferences in the old workspace

File --> Import --> General --> Common Preferences in the new workspace

EDIT: Sorry, I read you message too quickly. If you want to sync .settings dir with Dropbox, your best choice is probably to move it to Dropbox and create file system level soft links to it from every project using it. However, .settings folder is meant to be one per configuration, so you want to make sure that you do not edit it in several places simultaenously. That is, if you really meant "eclipse/configuration/.settings" folder when asking you question.

[Updated on: Thu, 31 March 2011 09:55]

Report message to a moderator

Re: Multiple workspaces - one configuration [message #663025 is a reply to message #662611] Sat, 02 April 2011 10:25 Go to previous message
Philipp Weixlbaumer is currently offline Philipp WeixlbaumerFriend
Messages: 2
Registered: March 2011
Junior Member
Hey Mikhail,

Thanks so much for the quick reply! Wasn't able to try it properly until today, so excuse my late message Wink

Your first reply was all i wished for Smile Didn't really thought you could "Export" Settings, but then again I'm pretty new to Eclipse.

File --> Export --> General --> Preferences is the path in my Helios Eclipse, just a note Smile

After reading the posts about the .settings folder is think i won't risk tampering with it, I'll just put the exported settings file in my Dropbox, but thanks for pointing out the option.

What I'm pretty bugged about after putting some new workspaces in my Dropbox are the multiple .metadata folders. Could you have different plugins for every workspace or why is that? So if I start Eclipse in a workspace and i uninstall a plugin, will the plugin remain in all my other workspaces?

Thanks in Advance!
Previous Topic:CONFIGURING ECLIPSE FOR MAC PLUGINS
Next Topic:.epf file format
Goto Forum:
  


Current Time: Thu Nov 27 00:37:44 GMT 2014

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

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