Disable or override ant build output formatting?

Is it possible to disable ant build output formatting or to override it with a plugin? I've been looking at the ant output displayed in TeamCity for about a month now and the formatting still hasn't grown on me. I find it more confusing to look at then when looking at it non-formatted.

Thanks,
-Eric

3 comments

Do you mean current presentation of build log in TeamCity? If so could you please provide examples what would you like to remove from build log?

--
Pavel Sher

0

Yes, I do mean the presentation of the build log in TeamCity in regards to ant output.

I wish I could disable indenting and syntax highlighting.

My build log is also full of lines like this

: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: Trying to override old definition of task setup-project-patternset
: antcall (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: import (<1s)
: macrodef (<1s)

Lines like this comprise half of my build output. These lines aren't very informative, are they necessary? They don't appear in the ant build log when run outside TC.

0

To disable indenting you will need to modify CSS file buildLog.css, for this comment out margin-right: XXpx; lines. Highlighting cannot be disabled via CSS files. You can also download build log in IDE (if you are using TeamCity IDE plugin) or download it as file from the web UI.

Lines import are not necessary indeed. In fact TeamCity should filter out such messages. Could you please submit an issue to our tracker (http://jetbrains.net/tracker) with snippet of your build.xml producing such log?

--
Pavel Sher

0

Please sign in to leave a comment.