Community
Participate
Working Groups
From time to time, my workspace gets in a state where I have tons of compile errors reported by JDT, even though there shouldn't be any. Usually, this is when I first create a new workspace and checkout all the plug-in projects from the version control system, but it also happens sometimes when I have catch up with a lot of incoming structural changes. No amount of cleaning and recompiling projects fixes this problem. But if I restart the workbench, the compile errors go away.
Can you better describe the type of errors ? Of course steps to reproduce would help to find out what is going on. Are you running 3.3.2 ?
They're just compile errors. By the hundreds, if not thousands. usually, classes/plug-ins can't be found. I've experienced this using 3.3 a few times and many people around me have as well. I do know someone who ran into this with 3.4 today. I have seen this many times, so I figured it must be a known JDT bug. But I couldn't find anything like it when searching for it today, so I thought I'd open a bug report. I'm surprised that you guys are not aware of this. I suppose I should have reported it sooner. I don't know how I can help you further, though, except to ping you next time I run into this problem.
This normally happens when PDE cache gets outdated. The build path is then also corrupted. I've also seen this but wasn't successful to come up with a reproducible test case. Scenarios I've seen it is: - after importing plug-ins over existing ones - after loading plug-ins from CVS over existing ones
Do you have build path errors? To check if you have build path errors, go to the Problems view, click on the little triangle on the right and pull down the menu, then choose Group By > Java Problem type. If you have errors under the Build Path category, please paste them in this bug report.
Please reopen if you have the requested information.
I haven't run into this problem lately, but if I do, I will paste the build path errors in here.
Verified for 3.5M2 using I20080914-2000.