Re: csc408 phase D

Skip to first unread message

David James

Apr 2, 2005, 11:22:16 AM4/2/05
On Thu, 31 Mar 2005 20:34:13 -0500,
<> wrote:
> where do properties files come to play - in particular the once for the source
> code parsing; the ones that have regular expressions ? I did not look very
> hard, but hard enough to not to find any refernce in the code to the
> properties files .
Hey Stas,

Good to hear from you.

We load in the properties files using the ResourceBundle class inside
ca.utoronto.JCVSReport.metric.MetricSet. The properties files are then
initialized with one of our metric classes, which are contained in

> And another question -> say I wrote a properties file and I want to
> see the strings produced from the regular expression, but I don't want
> any graphs => Asking for sample code would be too much. So could you
> at least point out what, where and how .
Edit the code for the Regular Expression classes to output the matched
strings. You'll want to edit the RegexLineCounter and
RegexMatchCounter classes inside ca.utoronto.JCVSReport.metric.

Hope this helps!


Reply all
Reply to author
0 new messages