Bug 8339

Summary: Incorrect classpath causes 40000 errors
Product: [Eclipse Project] JDT Reporter: Knut Radloff <knut_radloff>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Linux-Motif   
Whiteboard:

Description Knut Radloff CLA 2002-01-23 17:27:22 EST
build 20020123

I added org.eclipse.swt to a fresh workspace. The initial classpath for SWT is 
empty. You have to turn off auto build before adding org.eclipse.swt and 
copy/rename the classpath file for the target platform and then turn auto build 
back on. 
I did not copy the classpath file but instead only had the JRE jar in the 
classpath. When I proceeded to turn on auto build I got 40000 errors about 
packages not being in the declared place. org.eclipse.swt uses source folders 
and the classpath did no specify any.
The errors eventually resulted in an OutOfMemoryError and obviously slowed 
things down in the meantime. It would be nice if the builder handled this 
scenario (JRE present but source folders not defined properly) like it does the 
missing JRE (display one error and abort build).
Comment 1 Philipe Mulet CLA 2002-01-24 06:48:16 EST
Detecting missing source folders would be impossible, given there is no 
reference .classpath (we revert to a default classpath in this case).

An error threshold is likely all you need. This item is queued on the list of 
things to do.
Comment 2 Kent Johnson CLA 2002-01-24 11:07:39 EST

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