Download NetBeans!

20071120 Tuesday November 20, 2007

To Out... Or To Err... That Is The Question

I've been told that some NetBeans users, and some potential NetBeans users, don't like the Ant output being written to the Output window, together with the application's actual output. One can see the point. Below, it's not immediately clear which bits come from Ant and which come from the application:

However, maybe the solution is simpler than it seems. Use System.err instead of System.out, and violin, as they say in French, the distinction between the application's output and the Ant output is very clear:

Still, it would be nice if there was a way to exclude the Ant output, via an option setting. And switching to "Quiet" mode in the Ant settings doesn't help. Believe me, I've tried.

Nov 20 2007, 02:21:53 PM PST Permalink