Bug 29159 - DeltaProcessor walks removed project
Summary: DeltaProcessor walks removed project
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2003-01-08 14:06 EST by Kent Johnson CLA
Modified: 2003-02-11 09:36 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 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.