|
Vanishing Sources When Clearing Workspace Data -
11-06-2009, 04:38 AM
Hello everybody,
in my Eclipse RCP application I have come across some very strange behavior. In my ApplicationWorkbenchAdvisor class I use configurer.setSaveAndResore(true), so that the window layout will be saved and can be restored when the application starts again. This works fine.
When I want to clear the saved workspace data, I set "Clear workspace" in the Run Configuration window. Then, after starting the application again, my whole "src" directory is being deleted, all my sources are gone.
I run Ganymede and the jdk1.6.0_02, everything else seems to be pretty standard.
Does anybody have an idea what I might have done wrong, or if I could do something to prevent my sources from being deleted? Also, can I do something else, maybe programmatically, to clear the workspace configuration, especially the windows' state?
Any help would be highly appreciated, thank you very much in advance.
Regards,
Heiko
|