94 | | ''Note'': The {{{XmlLogger}}} option is employed by the CI system [http://cruisecontrol.sourceforge.net/ CruiseControl] to get the build output in a way that can later be transformed into a human-readable HTML rendering using XSLT. |
| 94 | ''Note'': The {{{XmlLogger}}} option is employed by the CI system [http://cruisecontrol.sourceforge.net/ CruiseControl] to get the build output in a way that can later be transformed into a human-readable HTML rendering using XSLT. |
| 95 | |
| 96 | But parsing the messages themselves can also be helpful, even for builds with output not structured as XML. Many tools use formatting conventions such as prepending messages with labels such as {{{warning:}}}, which can be used adjust the level/priority of the message. Also, many messages related to problems in files are formatted in a consistent way, commonly known to be compatible with Emacs and other tools, for example: |
| 97 | |
| 98 | {{{ |
| 99 | filename:line:column severity: message |
| 100 | }}} |
| 101 | |
| 102 | Microsoft tools and some others use a different format, but many can be supported using regular expression matching against the log message. |
| 103 | |
| 104 | The filename and line number information extracted this way can be used to link directly from the build log to the corresponding part of the file in the Trac repository browser. |