Bug 5203

Summary: Project indexing does not restrain to source files on the classpath
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Philipe Mulet CLA 2001-10-24 09:00:05 EDT
A user on EC reported that when indexing his project containing 2.000 files,
we ended up processing 40.000 files.

His setup has a lot of symbolic links to denote the same files over and over, 
but none of these are actually located on the classpath (but the original
2000 files).

The code for indexing the project visits the entire project, and does not 
restrain itself to package fragment roots. Therefore it ends up processing
the entire set of .java files in the project.
Comment 1 Jerome Lanneluc CLA 2001-10-24 10:22:34 EDT
See ProjectResourceCopier to see how to traverse the resource tree.
Comment 2 Jerome Lanneluc CLA 2001-10-31 07:35:56 EST
Fixed IndexAllProject to visit only source folders (and not the entire project 
as it used to do).

Also fixed DeltaProcessor to not update the index for .java files that are 
outside the classpath.