Thanks Vincent,
your example in CVS was very helpful. It was of course my mistake in regular
expression. Now I've got something that seems to be working:

maven.clover.context.statement.names=nolog
maven.clover.context.statement.regexps=.*log.*\.(is.*|error.*|warn.*|info.*|
debug.*).*

Cheers
Pavel

-----Original Message-----
From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 7:31 AM
To: 'Maven Users List'
Subject: RE: Clover Plugin regexp statement context


Hi Pavel,

I don't know why it's not working for you. Maybe your regexp is not correct
(sorry I have to run now and I can't verify it)?

I suggest you check out the sample that I've used for testing this feature.
It's available at
http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/clover/src/plu
gin-test/testCloverContexts/

-Vincent

> -----Original Message-----
> From: Pavel M�ller [mailto:[EMAIL PROTECTED]
> Sent: lundi 18 avril 2005 23:20
> To: [email protected]
> Subject: Clover Plugin regexp statement context
>
> Hi,
> I'd like to filter log messages in the Clover report. I've tried to read
> docs and several examples, but I can't make it working. I set up two
> properties
>
> maven.clover.context.statement.names=nolog
> maven.clover.context.statement.regexps=^if \(logger.*\).*}
>
> But nothing happend. I've also tried several other regular expressions,
> but
> the result was the same.
>
> Has someone a working set of clover properties with statement filtering?
> I'm
> using Maven 1.0.2 and Clover plugin 1.8
>
> Thanks
> Pavel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to