DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Vanishing Sources When Clearing Workspace Data
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 17
Thanks: 1
Thanked 2 Times in 2 Posts
Join Date: Jan 2009
Question 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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing workspace in eclipse brimstedt Eclipse 12 10-10-2009 09:47 AM
Versioning my workspace TacB0sS Eclipse 1 04-21-2009 10:31 PM
Workspace in Eclips 3.3.3 musharrif Eclipse 0 02-04-2009 05:04 AM
Download Sources of CDT 5.0.1 lego123 Eclipse 0 10-13-2008 04:04 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com