I have 2 java projects setup in TeamCity 4 to build using Ant. The first uses the latest 1.6 jdk and TeamCity seems to capture detailed output from Ant, showing each line of output in the log file with its own time stamp.
The second project overrides the jdk used to run Ant and uses the older 1.4.2 jdk required by the project. In this case, TeamCity only seems to capture Ant output under a single "Ant output:" entry in the log. There's a single timestamp for the output and the output seems to be capped at 30 lines. This makes debugging build problems nearly impossible if there's, for example, a long stacktrace being output from the ant build.
A few questions:
- Am I correct in my assumption about the difference in output behavior being related to jdk versions? Switching the 1.6 based project to build under 1.4 appeared to confirm the difference in output was jdk related.
- Is there away to increase the amount of output displayed when running ant in jdk 1.4.2 to more that 30 lines?