Turn off Build automatically!

Posted: 04/06/08

An image of Turn off Build automatically!

It's amazing how many developers don't mess with any of the standard configuration settings in Flex Builder/Eclipse. They sit there waiting up to a minute, in some cases, for their app to be built EVERYTIME they save a class document!

Now, whilst having the compiler regularly checking over your code and highlighting issues in the Problems panel is helpful, it's ridiculous to have it doing this with every tiny change you make. For example, I'm updating comments in a couple of files, do I want the compiler to be checking the whole build each time I save my changes? Of course not! Equally, say I'm making code changes across the app (such as a refactoring task), I want the compiler to check my changes when I believe I'm done, not every step of the way through! It's possible some developers are literally wasting hours of development time waiting for the compiler to chew over meaningless changes to their code-base.

So with this in mind, go to Window=>Preferences=>General=>Workspace and deselect the Build Automatically checkbox. From now on, you can simply do a build at a time that you choose using control-b. No more "building workspace..." constantly flashing up at you!

Keywords for this post: flex builder, eclipse, compiler