Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-12-19 10:32:26

Hi All,

I have been working on a tool for a while that is based on
boost/tools/regression/process_jam_log.cpp that will process bjam output
and create XML markup from it. The motivation behind this is to:
* facilitate going though large bjam output;
* make the resulting output easier to read and visually scan.

The source and BBv2 jamfile are located at:

The core tool produces action tags with individual lines for the
captured output wrapped in CDATA sections. Sample output:

<?xml version = "1.0"?>
<?xml-stylesheet href = "file://h:/www/xslt/bjam-log.xsl" type =

<compile toolset = "cw" target =
"bin\cw-9.2\release\user-interface-gui\controls.obj" result = "failed">
<line><![CDATA[### mwcc Compiler:]]></line>
<line><![CDATA[# In: ..\..\boost\gui\layout.hpp]]></line>
<line><![CDATA[# From: controls.cpp]]></line>
<!-- ... -->
<compile target = "..\bin\cw-9.2\release\link-static\alert.obj" result =
<compile target = "..\bin\cw-9.2\release\link-static\metric.obj" result
= "passed"/>
<skipped toolset = "" target = ".\demo\controls.rsp" result = "failed">

This is then processed by a stylesheet to provide the appropriate visual
format. A bjam-log.xsl stylesheet is provided with the ability to
pretty-print output from GCC, Microsoft, Borland and Metrowerks toolsets
(all formatting done in XSLT/CSS!).



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at