Bug 29159

Summary: DeltaProcessor walks removed project
Product: [Eclipse Project] JDT Reporter: Kent Johnson <kent_johnson>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 Keywords: performance
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: All   
Whiteboard:

Description Kent Johnson CLA 2003-01-08 14:06:34 EST
1. Create a new project with its own source folder & a source file.

2. Now delete the project with a breakpoint in DeltaProcessor.updateRoots().

Notice that each source file is 'removed' from its index... even though the 
index was already removed.
Comment 1 Kent Johnson CLA 2003-01-08 14:55:17 EST
The opposite also happens... when an existing project on disk is 'added' to the 
workspace, the entire project is told to index & then the DeltaProcessor walks 
every source file and re-indexes it.
Comment 2 Jerome Lanneluc CLA 2003-01-09 09:53:06 EST
Changed update roots to only update the roots that are external to the project 
being added/removed.
Comment 3 David Audel CLA 2003-02-11 09:36:22 EST
Verified.