I've found that Clover doesn't like the test classes directory (i.e.
maven.test.dest) being the same as the normal classes directory.
Trying to get a workaround at the mo, so both set of classes can share the
same folder.
Mike
<br><br><br>>From: "Michael Owen"
<[EMAIL PROTECTED]><br>>Reply-To: "Maven Users
List" <[email protected]><br>>To:
[email protected]<br>>Subject: Re: [M1] Clover Coverage
0%??<br>>Date: Fri, 22 Jul 2005 09:40:57
+0100<br>><br>><br>>(Using Maven 1.0.2)<br>><br>>I've found
that in my test reports I have the error:<br>><br>>-------------
Standard Error -----------------<br>>[CLOVER] WARNING: The Clover version
used in instrumentation does <br>>not match the runtime version. You need
to run instrumented classes <br>>against the same version of Clover that
you instrumented with.<br>>[CLOVER] WARNING:
Instr=1.3.6,Runtime=1.3.1_01<br>>ERROR: CLOVER: Unable to load coverage
database.<br>>ERROR: CLOVER: No coverage data will be
gathered.<br>>ERROR: CLOVER: java.io.IOException<br>>ERROR: CLOVER:
Error reading Clover database header [E1101]. <br>>Consider deleting the
database to force Clover to create a fresh <br>>database. Bad database
format verison. Expecting '1.3' but got
<br>>'1.3.3'.<br>>------------- ----------------
---------------<br>><br>>So I guess this is the problem. How can I
make it so the same <br>>version of Clover is used to run the
instrumented classes and <br>>instrument etc.? Seems as if there's no
property to do this
etc.<br>><br>>Mike<br>><br>><br><br><br>&gt;From:
Wim Deblauwe
<br>>&lt;[EMAIL PROTECTED]&gt;<br>&gt;Reply-To:
Wim Deblauwe
<br>>&lt;[EMAIL PROTECTED]&gt;<br>&gt;To: Maven
Users List
<br>>&lt;[email protected]&gt;<br>&gt;Subject: Re:
[M1] Clover <br>>Coverage 0%??<br>&gt;Date: Fri, 22 Jul 2005
08:12:56 <br>>+0200<br>&gt;<br>&gt;You need to
compile your classes with clover <br>>instrumentation. Have you
tried<br>&gt;maven clover:on
<br>>site?<br>&gt;<br>&gt;regards,<br>&gt;<br>&gt;Wim<br>&gt;<br>&gt;2005/7/21,
<br>>Michael Owen
&lt;[EMAIL PROTECTED]&gt;:<br>&gt;
&gt;<br>&gt; <br>>&gt;<br>&gt; &gt;
Correction. I'm using maven-clover-plugin.<br>&gt;
<br>>&gt;<br>&gt; &gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&gt;From:
<br>>&quot;Michael Owen&quot;<br>&gt; &gt;
<br>>&lt;[EMAIL PROTECTED]&gt;&lt;br&gt;&gt;Reply-To:
&quot;Maven <br>>Users<br>&gt; &gt; List&quot;
<br>>&lt;[email protected]&gt;&lt;br&gt;&gt;To:<br>&gt;
&gt; <br>>[email protected]&lt;br&gt;&gt;Subject:
[M1] Clover <br>>Coverage<br>&gt; &gt;
0%??&lt;br&gt;&gt;Date: Thu, 21 Jul 2005
<br>>17:12:32<br>&gt; &gt;
<br>>+0100&lt;br&gt;&gt;&lt;br&gt;&gt;Hi,&lt;br&gt;&gt;&lt;br&gt;&gt;I'm
<br>>using the maven-plugin-report<br>&gt; &gt; 1.9 for
Maven 1.0.2. When <br>>I do &lt;br&gt;&gt;&quot;maven
site&quot; all seems<br>&gt; &gt; <br>>well, but I get
0% coverage of the code, &lt;br&gt;&gt;which isn't
<br>>correct. Just<br>&gt; &gt; wondering whether people
know of any <br>>&lt;br&gt;&gt;reasons why? e.g.
certain<br>&gt; &gt; properties need <br>>to be
set&lt;br&gt;&gt;&lt;br&gt;&gt;Many<br>&gt;
&gt;<br>&gt; &gt;
<br>>thanks,&lt;br&gt;&gt;&lt;br&gt;&gt;Mike&lt;br&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt;---------------------------------------------------------------------&lt;br&gt;&gt;To<br>&gt;
<br>>&gt; unsubscribe, e-mail:
<br>>[EMAIL PROTECTED]&lt;br&gt;&gt;For<br>&gt;
&gt; <br>>additional commands, e-mail:
<br>>[EMAIL PROTECTED]&lt;br&gt;&gt;&lt;br&gt;<br>&gt;
<br>>&gt;<br>&gt; &gt;<br>&gt;
&gt;<br>&gt; &gt;
<br>>---------------------------------------------------------------------<br>&gt;
<br>>&gt; To unsubscribe, e-mail:
<br>>[EMAIL PROTECTED]<br>&gt; &gt; For
additional <br>>commands, e-mail:
[EMAIL PROTECTED]<br>&gt; &gt;<br>&gt;
<br>>&gt;<br><br>><br>><br>><br>>---------------------------------------------------------------------<br>>To
unsubscribe, e-mail: [EMAIL PROTECTED]<br>>For
additional commands, e-mail: [EMAIL PROTECTED]<br>><br>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]