|
Re: Getting the projects in the current workspace [message #204194 is a reply to message #204182] |
Tue, 10 April 2007 13:40 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Zakir,
In any given running Eclipse instance there is only one workspace
instance accessed as you show below.. So it's not clear what you mean
by "current" verses "runtime". You could certainly make a runtime
eclipse instance reuse any existing workspace, but only one running
process can use any particular workspace at a time. A workspace will
appear looked (in-use) if any other processes tries to make it its own
current workspace. So if you want to do something with the workspace of
the currently running eclipse process, you'd need to invoke code that is
running within that process rather than launching a new process.
zakir wrote:
> Hi friends,
>
> Is there any way to get the projects which are present in the current
> workspace.
>
>
> -----------------------------------
>
> For getting the projects in the runtime workspace
> ResourcesPlugin.getWorkspace().getRoot().getProjects()
> will work....
>
> But for me i want to get the projects which are in my current
> workspace not in the runtime workspace....
>
>
> Can any one suggest me regarding this...
>
> Regards,
>
> Zakir
>
|
|
|
Powered by
FUDForum. Page generated in 0.09240 seconds