2

Is there away to prevent eclipse from rebuilding the entire project every time I change an entry in the class path. Unfortunately, I have to play around with the build path often and rebuilding the projects takes a long time (easily 20-30 mins). Is there away to avoid this?

hhafez
  • 38,949
  • 39
  • 113
  • 143

2 Answers2

3

A simpler way is turn off "Build Automatically" in Main Menu: Project/Build Automatically. This turns off auto-build mode, so you can trigger it manually (from same Project menu)

Eugene Ryzhikov
  • 17,131
  • 3
  • 38
  • 60
  • that is not sufficient, because it will force a rebuild of the entire project when a I do want to make a build – hhafez Sep 07 '09 at 00:21
  • How would compiler know what to do if you changing your build path? It has to check/compile every class to make sure your project still compilable. That is exactly what Eclipse does. – Eugene Ryzhikov Sep 07 '09 at 04:14
-1

It should do the same thing it does when you change your source code: analyze what are the actual changes and perform an incremental build based on those.