Added yarp.pl - (Yet Another Raptor Parser) and dump_recipe_at_line.pl
Usage for yarp.pl:
perl yarp.pl <compile_log> <output_csv>
Usage for dump_recipe_at_line.pl:
perl dump_recipe_at_line.pl <compile_log> <line|line_list_file>
The idea of dump_recipe_at_line.pl is so you can take a column of line numbers from the CSV created by yarp and see what happened (without having to open the 300MB file)
with a single column:
...
226242
...
you get:
...
226242 <recipe name blah blah blah...
...
With two columns in the file, you can have some more readable output:
...
226242 m:/sf/mw/classicui/group/bld.inf
...
you get:
...
m:/sf/mw/classicui/group/bld.inf(226242): <recipe name blah blah blah...
...
<?xml version="1.0" encoding="utf-8"?>
<diamonds-build>
<content>
<project>
<name>Config</name>
<#list config as c>
<baseline>${c.loc}#${c.rev}</baseline>
</#list>
</project>
<project>
<name>Project</name>
<#list project as p>
<baseline>${p.loc}#${p.rev}</baseline>
</#list>
</project>
<project>
<name>Baseline</name>
<#list baseline as b>
<baseline>${b}</baseline>
</#list>
</project>
<project>
<name>Sources</name>
<#list sources as s>
<baseline>${s.loc}#${s.rev}</baseline>
</#list>
</project>
</content>
</diamonds-build>