example-compile-parser.xml (10 lines of code) (raw):

<?xml version="1.0" encoding="UTF-8" ?> <parser id="custom1" name="GNU Make addition output parser" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="parser-configuration.xsd"> <!-- Blocks --> <!--<pattern regex="Making (\S+) in (\S+)" severity="INFO"/>--> <!--<pattern regex=".*make.*: Entering directory `(.*)'" severity="BLOCK_START" output-expr="$1"/>--> <!--<pattern regex=".*make.*: Leaving directory `(.*)'" severity="BLOCK_FINISH" output-expr="$1"/>--> <!-- Compiler blocks --> <pattern regex=".*Building C object.*" severity="COMPILATION_CHANGE"/> <pattern regex=".*Building CPP object.*" severity="COMPILATION_CHANGE"/> <pattern regex=".*Building C++ object.*" severity="COMPILATION_CHANGE"/> <pattern regex=".*Linking C shared library.*" severity="COMPILATION_CHANGE"/> <pattern regex=".*Linking C static library.*" severity="COMPILATION_CHANGE"/> </parser>