Hi dIon,

Just an idea: There is a bug/limitation on current Clover 0.5b version.
It writes coverage results on JVM shutdown only. Which is the main
reason why I separated the 2 clover targets : clover-test and
clover-report-* (it was all done in one target before).

However, I guess that if you run "ant target1 target2 ..." they all run
in the same JVM right ? Which will prevent Clover generating results in
its coverage database.

Can you try that ?

Thanks
-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 23 June 2002 05:38
> To: [EMAIL PROTECTED]
> Subject: [clover-plugin] Missing package files and all tests 0%
> 
> I'm running:
> 
> maven clean test clover-test clover-report-html site
> 
> And having hassles with the output.
> 
> I'm running on jdk 1.4.1, ant 1.4.1, maven cvs head.
> 
> Output from the clover tasks appears ok,except for this when running
the
> report-html :
> 
>      [java] WARN: com.cortexeb.tools.clover.CloverDbRegistry: no
coverage
> recordings found for coverage db
> '/home/dion/source/jakarta-turbine-
> maven/target/clover/database/clover_coverage.db'.
> M
> 
> The compile phase ran fine:
> clover-compile:
>      [echo] /usr/java/jakarta-ant-1.4.1/bin/..
>     [javac] Compiling 269 source files to
> /home/dion/source/jakarta-turbine-maven/target/clover/classes
>    [clover] Clover version 0.5b, built on June 13 2002
>    [clover] Updating database
> '/home/dion/source/jakarta-turbine-
> maven/target/clover/database/clover_coverage.db'
>    [clover] Clover all over. Instrumented 269 files.
> 
> And the tests executed successfully....with no visible warning
messages.
> 
> Ideas?
> 
> 
> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>



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

Reply via email to