You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gisbert Amm <gi...@webde.de> on 2007/08/15 13:24:24 UTC
maven-clover-plugin: How to Filter logging statements
In the Clover documentation at
http://cenqua.com/clover/doc/adv/contexts.html is described how to
filter logging statements:
<clover-setup ...>
<statementContext name="log" regexp="^LOG\..*">
<statementContext name="iflog" regexp="^if \(LOG\.is.*">
...
</clover-setup>
However, from
http://maven.apache.org/plugins/maven-clover-plugin/usage.html#Using%20block%20contexts
<configuration>
<contextFilters>try,static</contextFilters>
</configuration>
I cannot really find out how to do that with the maven-clover-plugin.
Can someone please help me?
Thank you in advance.
-Gisbert
--
Gisbert Amm
Softwareentwickler Infrastruktur
WEB.DE GmbH
Brauerstraße 48 · D-76135 Karlsruhe
Tel. +49-721-91374-4224 · Fax +49-721-91374-2740
gisbert.amm@webde.de · http://www.web.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-clover-plugin: How to Filter logging statements
Posted by Gisbert Amm <gi...@webde.de>.
Just found http://jira.codehaus.org/browse/MCLOVER-54
Never mind.
-Gisbert
Gisbert Amm wrote:
> In the Clover documentation at
> http://cenqua.com/clover/doc/adv/contexts.html is described how to
> filter logging statements:
>
> <clover-setup ...>
> <statementContext name="log" regexp="^LOG\..*">
> <statementContext name="iflog" regexp="^if \(LOG\.is.*">
> ...
> </clover-setup>
>
> However, from
> http://maven.apache.org/plugins/maven-clover-plugin/usage.html#Using%20block%20contexts
>
>
> <configuration>
> <contextFilters>try,static</contextFilters>
> </configuration>
>
> I cannot really find out how to do that with the maven-clover-plugin.
>
> Can someone please help me?
>
> Thank you in advance.
>
> -Gisbert
>
--
Gisbert Amm
Softwareentwickler Infrastruktur
WEB.DE GmbH
Brauerstraße 48 · D-76135 Karlsruhe
Tel. +49-721-91374-4224 · Fax +49-721-91374-2740
gisbert.amm@webde.de · http://www.web.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org