vmassol 2002/06/24 01:47:54
Modified: xdocs/plugins/clover build-file.xml
Log:
issue with Cloverer and JVM shutdown now documented
Revision Changes Path
1.3 +11 -0 jakarta-turbine-maven/xdocs/plugins/clover/build-file.xml
Index: build-file.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/xdocs/plugins/clover/build-file.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build-file.xml 19 Jun 2002 10:04:12 -0000 1.2
+++ build-file.xml 24 Jun 2002 08:47:54 -0000 1.3
@@ -82,6 +82,17 @@
and generates a Clover database file. This target must be called
prior to calling one of the report targets below.
</p>
+ <p>
+ <strong>Note</strong> : There is a limitation in Clover 0.5b. The
+ test coverage results are written to Clover database on JVM shutdown
+ only. Thus be careful to execute the <code>maven:clover-test</code>
+ target separately from the <code>maven:clover-report-*</code> ones
+ or the report will show a 0% coverage result! In other words, do not
+ type "<code>ant maven:clover-test maven:clover-report-*</code>".
+ Instead, do it in 2 JVM invocations :
+ "<code>ant maven:clover-tests</code>" and
+ "<code>ant maven:clover-report-*</code>".
+ </p>
</subsection>
<subsection name="maven:clover-report-html">
<p>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>