workspace [message #38651] |
Tue, 22 March 2005 14:09 |
Eclipse User |
|
|
|
Originally posted by: greg.kein.spam.xhvg.hu
Hi,
I have two uncompatible plugins. I've created two separate eclipse
installations for them. I would like to have a separate workspace for
each, but when I launched the second one, it tried to access the first
one's workspace, what I did not want. It seems that eclipse stores its
workspace at a central location. How can I manage to have separate
workspaces for different eclipse-installations? It's awkward to start
every eclipse-session to switch workspace manually.
Regards
- Gergely
|
|
|
Re: workspace [message #39071 is a reply to message #38651] |
Wed, 23 March 2005 11:17 |
Eclipse User |
|
|
|
Originally posted by: user.server.net
Gergely,
If you installed the two eclipse environments in two different paths,
then you should have two different config files (called
org.eclipse.ui.prefs) in the configuration\.settings subdirectory of
each of the installations. That's where the workspace path is stored.
But Eclipe should remember the last workspace used...
Hope this helps.
Regards,
Kai
Gergely Buday wrote:
> Hi,
>
> I have two uncompatible plugins. I've created two separate eclipse
> installations for them. I would like to have a separate workspace for
> each, but when I launched the second one, it tried to access the first
> one's workspace, what I did not want. It seems that eclipse stores its
> workspace at a central location. How can I manage to have separate
> workspaces for different eclipse-installations? It's awkward to start
> every eclipse-session to switch workspace manually.
>
> Regards
>
> - Gergely
>
|
|
|
Re: workspace [message #39192 is a reply to message #39071] |
Wed, 23 March 2005 16:10 |
Eclipse User |
|
|
|
Originally posted by: greg.kein.spam.xhvg.hu
Kai Sautter wrote:
> If you installed the two eclipse environments in two different paths,
> then you should have two different config files (called
> org.eclipse.ui.prefs) in the configuration.settings subdirectory of
> each of the installations. That's where the workspace path is stored.
> But Eclipe should remember the last workspace used...
For the second, the only file I have in configuration is config.ini. In
the first, I have config.ini org.eclipse.core.runtime org.eclipse.osgi
org.eclipse.ui.ide org.eclipse.update, they are directories except
config.ini. So I don't have org.eclipse.ui.prefs file there. What to do
then? What is the syntax if I would like to create one in
eclipse/configuration?
- Gergely
|
|
|
Re: workspace [message #42656 is a reply to message #39192] |
Tue, 29 March 2005 07:24 |
Eclipse User |
|
|
|
Originally posted by: user.server.net
Gergely,
Sorry, I seem to have missed out a blank. Within the "configuration"
directory, there should be a subdirectory ".settings". The file in
question should be there. What version on which OS are you running?
Best regards,
Kai
Gergely Buday wrote:
> Kai Sautter wrote:
>
>> If you installed the two eclipse environments in two different paths,
>> then you should have two different config files (called
>> org.eclipse.ui.prefs) in the configuration.settings subdirectory of
>> each of the installations. That's where the workspace path is stored.
>> But Eclipe should remember the last workspace used...
>
>
> For the second, the only file I have in configuration is config.ini. In
> the first, I have config.ini org.eclipse.core.runtime
> org.eclipse.osgi org.eclipse.ui.ide org.eclipse.update, they are
> directories except config.ini. So I don't have org.eclipse.ui.prefs file
> there. What to do then? What is the syntax if I would like to create one
> in eclipse/configuration?
>
> - Gergely
>
|
|
|
Re: workspace [message #42810 is a reply to message #42656] |
Tue, 29 March 2005 13:22 |
Eclipse User |
|
|
|
Originally posted by: greg.kein.spam.xhvg.hu
Kai Sautter wrote:
> Sorry, I seem to have missed out a blank. Within the "configuration"
> directory, there should be a subdirectory ".settings". The file in
> question should be there. What version on which OS are you running?
I have ubuntu hoary linux and eclipse 3.0.1. And I have no .settings
directory in configuration/ .
- Gergely
|
|
|
Re: workspace [message #44868 is a reply to message #42810] |
Thu, 31 March 2005 18:54 |
Eclipse User |
|
|
|
Originally posted by: user.server.net
Ok, let's have a second try (sorry for taking some time to answer):
Within the home directory of your user you have a (hidden) directory
".eclipse" there you will find a folder tree
"org.eclipse.platform_<version>/configuration/org.eclipse.ui.ide ", where
<version> represents the eclipse version you are using (in your case
3.0.1). There you should find a file called "recentWorcspaces.xml".
That's where the workspace info should be stored.
So you have two options:
a) Use different versions of eclipse (I assume that's not what you want)
b) write a little batch file, that copies the respective Workspace file
and then starts eclipse including the specified plugins.
Personally, I would discourage a third option, which would be to build
your workspace file dynamically prior to starting eclipse. It would be
(a) slow and (b) no one could guarantee compatibility to other versions.
HTH,
Kai
Gergely Buday wrote:
> Kai Sautter wrote:
>
>> Sorry, I seem to have missed out a blank. Within the "configuration"
>> directory, there should be a subdirectory ".settings". The file in
>> question should be there. What version on which OS are you running?
>
>
> I have ubuntu hoary linux and eclipse 3.0.1. And I have no .settings
> directory in configuration/ .
>
> - Gergely
>
|
|
|
Powered by
FUDForum. Page generated in 0.08440 seconds