Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Setting Workspace Location(eclipse no longer stores settings)
Setting Workspace Location [message #800513] Fri, 17 February 2012 06:58 Go to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
Hi,

i have eclipse IDE (which builds my rcp app) installed here:
file:/D:/JAVA/

i tried to relocate the workspace of my rcp app to
user.home/myapp

i tried that in ?three? different ways, and always ended up in the same result.

1) when starting my rcp application with default settings:
NO -data parameter when launching
its storing its folders/settings in:
file:/D:/JAVA/runtime-myapp.product/
views and its positions get saved correct

2) changing my workspace location to user.home/myapp
2.1) launching the product with parameter -data @user.home/myapp
2.2) setting the workspace path by code in Application.start & parameter -data @noDefault

both resolves with storing its folders/setings in:
file:/C:/Documents and Settings/myLogonName/myapp/
BUT: it seems its creating the files over and over again. its not reading any settings from it, as no view is shown although i close the application with views on new positions&resized...


any ideas?
Re: Setting Workspace Location [message #808387 is a reply to message #800513] Mon, 27 February 2012 18:33 Go to previous message
Eclipse UserFriend
I don't know why it's happening, but you could try debugging it. I think putting a breakpoint in org.eclipse.equinox.launcher's org.eclipse.equinox.launcher.Main's buildLocation().

If you haven't done it yet, you can see some instructions on debugging an Eclipse instance using remote debugging at:

http://wiki.eclipse.org/IRC_FAQ#Debugging_Eclipse_Using_Eclipse
Previous Topic:Text widget messing up newlines
Next Topic:No drag handle for WorkbenchWindowControlContribution in trim area
Goto Forum:
  


Current Time: Thu Apr 25 07:16:58 GMT 2024

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

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

Back to the top