You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/01/31 21:06:24 UTC

svn commit: r373899 - in /maven/maven-1/plugins/trunk/clover: plugin.jelly plugin.properties xdocs/changes.xml xdocs/properties.xml

Author: ltheussl
Date: Tue Jan 31 12:06:22 2006
New Revision: 373899

URL: http://svn.apache.org/viewcvs?rev=373899&view=rev
Log:
PR: MPCLOVER-50
Add support for span attribute.

Modified:
    maven/maven-1/plugins/trunk/clover/plugin.jelly
    maven/maven-1/plugins/trunk/clover/plugin.properties
    maven/maven-1/plugins/trunk/clover/xdocs/changes.xml
    maven/maven-1/plugins/trunk/clover/xdocs/properties.xml

Modified: maven/maven-1/plugins/trunk/clover/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/plugin.jelly?rev=373899&r1=373898&r2=373899&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/clover/plugin.jelly Tue Jan 31 12:06:22 2006
@@ -345,7 +345,7 @@
 
     <attainGoal name="clover:on"/>
 
-    <ant:clover-report>
+    <ant:clover-report span="${maven.clover.span}">
       <ant:current outfile="${maven.build.dir}/clover.xml" alwaysReport="true"
         	title="${pom.name} - ${pom.currentVersion}">
         <ant:format type="xml" orderBy="${maven.clover.orderBy}">
@@ -377,7 +377,7 @@
     <j:set var="cloverReportDirectory" value="${maven.docs.dest}/clover"/>
     <ant:mkdir dir="${cloverReportDirectory}"/>
 
-    <ant:clover-report>
+    <ant:clover-report span="${maven.clover.span}">
 
       <ant:current outfile="${cloverReportDirectory}" alwaysReport="true"
         	title="${pom.name} - ${pom.currentVersion}">
@@ -440,7 +440,7 @@
     <j:set var="cloverPDFReportFile" value="${cloverReportDirectory}/clover.pdf"/>   
     <ant:mkdir dir="${cloverReportDirectory}"/>
 
-    <ant:clover-report>
+    <ant:clover-report span="${maven.clover.span}">
       <ant:current outfile="${cloverPDFReportFile}" alwaysReport="true"
           title="${pom.name} - ${pom.currentVersion}" summary="true">
         <ant:format type="pdf" orderBy="${maven.clover.orderBy}">
@@ -585,7 +585,7 @@
   <goal name="clover:save-history" prereqs="clover:init" 
       description="Record a history point">
 
-    <ant:clover-historypoint historyDir="${maven.clover.history.dir}"/>
+    <ant:clover-historypoint historyDir="${maven.clover.history.dir}" span="${maven.clover.span}"/>
 
   </goal>
 

Modified: maven/maven-1/plugins/trunk/clover/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/plugin.properties?rev=373899&r1=373898&r2=373899&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/clover/plugin.properties Tue Jan 31 12:06:22 2006
@@ -35,6 +35,9 @@
 # Controls whether the initstring parameter is treated as a relative path or not.
 maven.clover.relative = false
 
+#  Specifies how far back in time to include coverage recordings.
+maven.clover.span = 0s
+
 # Default ordering for the generated Clover reports.
 maven.clover.orderBy = PcCoveredAsc
 

Modified: maven/maven-1/plugins/trunk/clover/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/changes.xml?rev=373899&r1=373898&r2=373899&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/clover/xdocs/changes.xml Tue Jan 31 12:06:22 2006
@@ -25,6 +25,7 @@
   </properties>
   <body>
     <release version="1.11-SNAPSHOT" date="in SVN">
+      <action dev="ltheussl" type="add" issue="MPCLOVER-50">Add support for span attribute.</action>
       <action dev="ltheussl" type="add" issue="MPCLOVER-45">Allow to specify the "relative" property for clover-setup.</action>
       <action dev="ltheussl" type="update" issue="MPCLOVER-52">Upgrade to Clover 1.3.11.</action>
       <action dev="vmassol" type="update" issue="MPCLOVER-53">Use new clover license.</action>

Modified: maven/maven-1/plugins/trunk/clover/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/properties.xml?rev=373899&r1=373898&r2=373899&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/clover/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/clover/xdocs/properties.xml Tue Jan 31 12:06:22 2006
@@ -301,6 +301,17 @@
              false
           </td>
         </tr>
+        <tr>
+          <td>maven.clover.span</td>
+          <td>Yes</td>
+          <td>
+             Specifies how far back in time to include coverage recordings from since the last Clover build.
+             See <a href="http://www.cenqua.com/clover/doc/adv/spans.html">Using Spans</a>.
+          </td>
+          <td>
+             0s
+          </td>
+        </tr>
       </table>
     </section>
   </body>