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:
http://uk.geocities.com/msclrhd/boost/log.zip

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 =
"text/xsl"?>

<bjam-log>
<found>149</found>
<updating>26</updating>
<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>
<compile target = "..\bin\cw-9.2\release\link-static\alert.obj" result =
"passed"/>
<compile target = "..\bin\cw-9.2\release\link-static\metric.obj" result
= "passed"/>
<skipped toolset = "" target = ".\demo\controls.rsp" result = "failed">
<line><![CDATA[missing
.\bin\cw-9.2\release\user-interface-gui\controls.obj]]></line>
</skipped>
<failed-updating>4</failed-updating>
<updated>13</updated>
<time>150.216</time>
</bjam-log>

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!).

Regards,
Reece

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk