Mark’s solution is what I wanted.
I have found that the File->Switch
Workspace->Other method is not always accurate.
- John
From:
cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of David Whiteman
Sent: Thursday, April 10, 2008
8:59 AM
To: Cosmos
Dev
Subject: Re: [cosmos-dev] Generic
question
Are you wanting to determine this programmatically, or
interactively?
If
the latter, just go to File > Switch Workspace > Other... and your
current workspace should be displayed there.
If
you're wanting to do this in code, the following probably works (n.b. I haven't
tested this):
ResourcesPlugin.getWorkspace().getRoot().getLocation()
HTH,
David
---
David Whiteman | Tivoli
Autonomic Computing
Eclipse COSMOS project committer | http://www.eclipse.org/cosmos/
david_whiteman@xxxxxxxxxx | 919-254-8224 | T/L 444-8224
"Todd, John A"
<John.Todd@xxxxxx>
Sent
by: cosmos-dev-bounces@xxxxxxxxxxx
04/10/2008 08:47 AM
Please
respond to
Cosmos Dev
<cosmos-dev@xxxxxxxxxxx>
|
|
To
|
"Cosmos Dev"
<cosmos-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
|
[cosmos-dev] Generic question
|
|
Can the Eclipse IDE tell me what workspace I’m currently using?
- John
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev