Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346229 - save work place state frequently instead of only shutdown
Summary: save work place state frequently instead of only shutdown
Status: CLOSED DUPLICATE of bug 2369
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 08:18 EDT by arne anka CLA
Modified: 2011-05-25 08:56 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka CLA 2011-05-18 08:18:32 EDT
i close a project.
minutes later eclipse crashes.
after restart, the project is open (again? still?).

same thing for opened editors. when eclipse crashes the state of the last successful shutdown is restored, not the one most recent to the crash.

apparently eclipse only stores the work place state when shutdown. that's nice but insufficient, it should save the state frequently while eclipse runs.


-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
Comment 1 arne anka CLA 2011-05-25 07:23:46 EDT
ok. this gets annoying.
is there any way to force saving manually while eclipse runs?
Comment 2 John Arthorne CLA 2011-05-25 08:42:18 EDT
Eclipse stores data on disk at different times depending how critical it is. Critical state such as your file contents are written to disk immediately. Other state this is important but recoverable is written periodically in the background. Cosmetic state like the selection, open editors, view layout, etc, is only ever saved on shutdown. As an end user there is no way to force this state to be saved, other than to shutdown.

The more interesting question is why you are crashing so often. Are these JVM crashes, deadlocks, or what?
Comment 3 John Arthorne CLA 2011-05-25 08:56:28 EDT

*** This bug has been marked as a duplicate of bug 2369 ***