Sample Script/Pointers on getting hint and warning count out of Delphi compiler

Hi - relatively new to FinalBuilder (though purchased quite a long time ago).

Really impressed with it and enjoying working with it. Having now got the basics of daily scheduled builds up and running, I'm now looking to refine the reporting a bit.

I have about 8-10 Delphi XE projects I like to build every night and I would like to be able to see the latest hints and warning count on each (embedded in my overall HTML reports page), so I can get better visibility on those.

In another forum message you said there was an approach that could be used involving OnStatusMessage, but confess I'm a bit stuck on how to get up and running - does anybody have a sample of how to do this? All I really need is a simple text file that outputs the data in a key=value pair, eg.

[MyProject1]

Hints=2

Warnings=1

 

Many thanks

Richard

Doh, think I've found what I wanted under "Output Action Monitors" on the Runtime tab of the Compile action. Have added integer variable "WarningCount" and then assigning to it the Matchcount for the word "Warnings" to it. Will do the same for hints and then I just need to find the most elegant way of getting it into my web page.

Thanks - great tool.

 

Richard