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


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

Reply via email to