• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse - Complete build pain point

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!!
I have just upgraded to Eclipse 3.0 M9 build. I have a HUGE project opened.

When I make a small change - as small as inserting a new line - and save the project back, it seems to recompile the whole project again. Other tasks have to wait for this to complete.

Can I avoid a complete build everytime a change is made to a file? I think 2.1.3 compiled only the changed files. Am I missing a setting?

Thanks
-praveen.
 
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure about how much it recompiles, but you can stop automatic rebuilding with Window->Preferences->Workspace->Build Automatically checkbox.

The ability of javac to determine whether or not a class needs recompiling is somewhat limited. I'm not sure of its precise ability, or even whether Eclipse relies on it, but this may be the cause of the huge recompiles.

Certainly in my project (medium sized, ~1500 classes) automatic rebuilding is not a feasible option. I just do Ctrl-B when I want a new build. It kinda gets you into a "code for a bit, fix typos for a bit, review for a bit" mentality when coding.

Cheers,



--Tim
 
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic