Monday, March 22, 2010

Eclipse Super Clean TM

For the past couple of years, I've regularly had issues where Eclipse reports unresolved references for projects that were fine when I closed down the night before; sometimes they'll show up right after I do an update from SVN making me wonder if I had a bad update or someone committed bad code.

Through some trial and error, I've found a sequence of steps that I follow that invariably solves the problem.
  • Turn off Project Build Automatically
  • Choose Project Clean and make sure that the “start build immediately” check box is unselected
  • Clean the project(s) affected
  • Close the projects in the IDE
  • Shut down Eclipse
  • Re-start Eclipse
  • Re-open the projects
  • Turn on Project Build Automatically
 That should do it.

No comments:

Post a Comment