Thursday, November 03, 2011

How to stop Datanucleus Enhancer Console Output from stealing focus in Eclipse


How to stop Datanucleus Enhancer Console Output from stealing focus in Eclipse

You might find that when using the Datanucleus Enhancer that every time you make a change to your project that requires a build to occur that the Datanucleus Enhancer will run.  When this happens Eclipse will change focus to the console window (which can be annoying if you already have another tab selected like ‘Development Mode’).

To change this setting you only need to go into Eclipse Preferences and make a couple of changes.

Open Eclipse Preferences and search for ‘Console’:

Uncheck the option ‘Show when program writes to standard out’.  You can also choose to not allow the Eclipse console from stealing focus when errors are written to the console by unchecking the ‘Show when program writes to standard error’ if you choose.

References:

iPod Touch Deals