Bug 77287 - [builder] Full rebuid after crash
Summary: [builder] Full rebuid after crash
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 09:37 EDT by Michael Valenta CLA
Modified: 2005-02-16 09:41 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2004-10-29 09:37:35 EDT
We had a power outage over night and my Eclipse was running. Upon restart, a 
full rebuild took place. I have the entire Eclipse codebase as source and the 
rebuild takes a considerable amout of time 20-30 minutes. Even though the 
build is happening in the background, it is near to impossible to work as 
anything that acquires a resource lock will be blocked. 

Why is a full rebuild taking place? Doesn't JDT save the build state after a 
build completes. Wouldn't only an incremental build from the last saved state 
be required?
Comment 1 Kent Johnson CLA 2004-10-29 11:03:06 EDT
It may not be us triggering the rebuild. Need to check with core & the 
BuildManager.
Comment 2 Kent Johnson CLA 2004-11-19 16:23:28 EST
Saving the build states during snapshots is too expensive.

And in this case, if the workspace is in sync then the full build should not 
happen until the next build is scheduled... not on startup.