Re: csc408 phase D

0 views
Skip to first unread message

David James

unread,
Apr 2, 2005, 11:22:16 AM4/2/05
to stas.t...@utoronto.ca, JCVSR...@googlegroups.com
On Thu, 31 Mar 2005 20:34:13 -0500, stas.t...@utoronto.ca
<stas.t...@utoronto.ca> 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
ca.utoronto.JCVSReport.metric.

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

Cheers,

David
Reply all
Reply to author
Forward
0 new messages