> Hi guys,
>
[quoted text clipped - 3 lines]
> I get a message saying "Workspace already in use" when I try to run a
> second instance of eclipse.
Yes, and then it prompts you to select a different workspace. So
do that and it'll start up. At least version 3. If you're still using
eclipse 2, I don't remember if there was a way to get it to do this,
but you could always run another instance under a different user.
And if you're using v3 but want to use the same workspace: why?
Cheers, Tilman

Signature
`Boy, life takes a long time to live...' -- Steven Wright
Robert Klemme - 13 Dec 2004 10:43 GMT
> > Hi guys,
> >
[quoted text clipped - 8 lines]
> eclipse 2, I don't remember if there was a way to get it to do this,
> but you could always run another instance under a different user.
Yes there is a command line option in v2 that indicates the workspace to
use.
> And if you're using v3 but want to use the same workspace: why?
Regardless of version Eclipse does not allow two instances to concurrently
use the same workspace - all sorts of problems could arise of this.
What OP *can* do is open another window - that he doesn't get two
instances but two separate workspace views.
Kind regards
robert
Tilman Bohn - 13 Dec 2004 11:56 GMT
[...]
> Yes there is a command line option in v2 that indicates the workspace to
> use.
Thought so, just wasn't sure.
>> And if you're using v3 but want to use the same workspace: why?
>
> Regardless of version Eclipse does not allow two instances to concurrently
> use the same workspace - all sorts of problems could arise of this.
I know that. My question was why the OP would want to do that in
the first place.
Cheers, Tilman

Signature
`Boy, life takes a long time to live...' -- Steven Wright
Robert Klemme - 13 Dec 2004 12:27 GMT
> [...]
> > Yes there is a command line option in v2 that indicates the workspace to
[quoted text clipped - 8 lines]
>
> I know that.
I know that you know. :-) That bit was really intended for the OP. Sorry
for not being clear enough.
> My question was why the OP would want to do that in
> the first place.
Yeah, that'd be interesting to learn.
Kind regards
robert
techCrazy - 14 Dec 2004 01:40 GMT
Thanks for your help guys.
I went ahead and verified that I am using Eclipse 3.0
Also, I verified that the checkbox "Ask for workspace on startup" is
checked under "Startup and Shutdown" preferences but when I launch
eclipse from the commandline , it automatically goes to the last
project I was debugging. Running a second instance simply prints
"Workspace already in use" and then exits immediately. Any ideas to fix
this?
Also, how I find what workspace I am using? I looked at the Help->About
Eclipse. Couldn't find it there.
Thanks again.
Tilman Bohn - 14 Dec 2004 06:55 GMT
> Thanks for your help guys.
>
[quoted text clipped - 6 lines]
> "Workspace already in use" and then exits immediately. Any ideas to fix
> this?
Hmm. Are there any additional messages on the console?
> Also, how I find what workspace I am using? I looked at the Help->About
> Eclipse. Couldn't find it there.
I've never needed to do this, so maybe there's a better way, but the
quickest way I can see is File -> Switch Workspace. The value in the
combobox should be the current workspace. Then simply cancel the dialog.
Cheers, Tilman

Signature
`Boy, life takes a long time to live...' -- Steven Wright