Formating ant's verbose messages
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   A_Venet
Posted On:   Tuesday, December 2, 2003 09:29 AM


I want to use ant as an execution script, however there is a number of verbose messages written out by ant that I would like to get rid off. I tried the -q (silent) mode but that isn't flexible enough. For example any System.out.println strings are prefixed with a [java] string which I would like to remove. Anyone know of any way to configure this in ant or is the only solution to hack at the source?

Re: Formating ant's verbose messages

Posted By:   Anonymous  
Posted On:   Thursday, December 4, 2003 05:42 PM

Sure. Implement your own BuildLogger (see Ant's logger/listener documentation for some details, and of course consult the source code on this interface and build-in implementations of it).

You may also want to try the -emacs command-line switch and the NoBannerLogger that is built-in - these will reduce the output a bit.
About | Sitemap | Contact