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