|Strange workspace switching behaviour under Windows [message #1237302]
||Wed, 29 January 2014 10:40
| Jens Rabe
Registered: September 2013
I have an Eclipse product with a custom welcome page. There is, amongst others, a function to switch the workspace. This programmatically executes the "org.eclipse.ui.file.openWorkspace" command.|
When running on Linux, this works correctly. The dialog appears, I can select a directory, and my product restarts with the new location.
However, on Windows, it does not work. The dialog appears, I can select the workspace, but after this, the product simply exits without restarting. Next time I restart the product, it is again at the default location. From this second start, workspace switching works correctly.
The same problem occurrs when using the stock "File / Switch workspace" option from the menu.
The product is based on Eclipse 4.2. Is this a bug or am I missing anything?
EDIT: Next observation: When starting the product for the first time and restarting it once (File / Restart), the workspace switching is working correctly, too.
[Updated on: Wed, 29 January 2014 10:54]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01889 seconds