Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Workspace in RCP
Workspace in RCP [message #415370] Tue, 15 March 2005 06:18 Go to next message
Eclipse UserFriend
Originally posted by: soniclee.ustc.edu

I need to use Workspace for GEF developing in my RCP appplication.But when
i get a Workspace instance by codes:

Workspace w = (Workspace)IDEWorkbenchPlugin.getPluginWorkspace();

I found this instance describing the directory
"C:\eclipse\runtime-workspace".I think it because of my setup in the run
option of eclipse.

So,how can I get or new a Workspace instance which can set it's directory
in RCP.

Did anybody meet the same problem?

THX!

SonicLee
Re: Workspace in RCP [message #415419 is a reply to message #415370] Tue, 15 March 2005 21:47 Go to previous messageGo to next message
Ed Burnette is currently offline Ed BurnetteFriend
Messages: 279
Registered: July 2009
Senior Member
You can control the workspace location with the osgi.instance.area property,
see
http://help.eclipse.org/help30/topic/org.eclipse.platform.do c.isv/reference/misc/runtime-options.html

You can set it on the command line or in your launcher.ini or config.ini
file or in the jnlp file (if using jws).

--
Ed Burnette
www.eclipsepowered.org

"SonicLee" <soniclee@ustc.edu> wrote in message
news:d15umv$32u$1@www.eclipse.org...
So,how can I get or new a Workspace instance which can set it's directory
in RCP.
Re: Workspace in RCP [message #415433 is a reply to message #415419] Wed, 16 March 2005 02:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: soniclee.ustc.edu

Ed Burnette wrote:

> You can control the workspace location with the osgi.instance.area property,
> see
>
http://help.eclipse.org/help30/topic/org.eclipse.platform.do c.isv/reference/misc/runtime-options.html

> You can set it on the command line or in your launcher.ini or config.ini
> file or in the jnlp file (if using jws).

Thank you Ed!
I notice that Eclipse must restart if i switch it's workspace.So maybe
it's the same in RCP.So i think i can set it's workspace by -data
parameter.
Thx again!
SonicLee
Re: Workspace in RCP [message #415441 is a reply to message #415419] Wed, 16 March 2005 05:41 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Wow, Ed. Talk about relevant documentation. Thank you so much.

Bob

Ed Burnette wrote:
> You can control the workspace location with the osgi.instance.area property,
> see
> http://help.eclipse.org/help30/topic/org.eclipse.platform.do c.isv/reference/misc/runtime-options.html
>
> You can set it on the command line or in your launcher.ini or config.ini
> file or in the jnlp file (if using jws).
>
Previous Topic:How to add a new project into a exist workspace instance?
Next Topic:ClassNotFoundException with JDBC and RCP
Goto Forum:
  


Current Time: Fri Mar 29 01:25:37 GMT 2024

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

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

Back to the top