Hi David,
Why are you assuming that <statementContext> would work?
Just check the plugin documentation and you'll see that the correct
tag name is <contextFilters>. Just check the documentation for more
details and examples.
Thanks
-Vincent
On Jan 17, 2007, at 11:46 PM, c_inconnu2 wrote:
Hi,
I am trying to configure Clover to use "contextFilters" with
"statementContext". Here is my pom.xml :
<reporting>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clover-plugin</artifactId>
<configuration>
<jdk>1.5</jdk>
<excludes>
<exclude>**/*AllTests.java</exclude>
<exclude>**/*Main.java</exclude>
<exclude>**/*Main$*.java</exclude>
<exclude>**/*Test.java</exclude>
<exclude>**/*Test$*.java</exclude>
</excludes>
<statementContext name="log" regexp="^logger
\..*" />
<!--statementContext name="iflog" regexp="^if \
(logger\.is.*" /-->
<statementContext name="iflog" regexp="if.?.?
log.*\.isDebugEnabled.*}" />
<!--contextFilters>log,iflog</contextFilters-->
<contextFilters>try</contextFilters>
</configuration>
</plugin>
...
<plugins>
<reporting>
as you can see, I tried many things. I looked the clover site,
search mailing lists but nothing...
I even looked into the plugin source code : it seems that it does
not handle "statementContext".
But since even the "try" context does not work...
Any help will be greatly appreciated, thanks
David
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]