Community
Participate
Working Groups
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).
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.
*** This bug has been marked as a duplicate of 6169 ***