vmassol 2004/07/16 02:47:39
Modified: clover plugin.jelly
clover/xdocs changes.xml
Log:
Prevented the <code>clover:on</code> goal from failing when there are no unit tests
sources available.
Revision Changes Path
1.27 +5 -3 maven-plugins/clover/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/clover/plugin.jelly,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- plugin.jelly 10 Jul 2004 13:04:46 -0000 1.26
+++ plugin.jelly 16 Jul 2004 09:47:39 -0000 1.27
@@ -127,9 +127,6 @@
<ant:pathconvert property="compileSrcSetString" pathSep="||||"
refid="maven.compile.src.set"/>
<u:tokenize var="srcDirs" delim="||||">${compileSrcSetString}</u:tokenize>
- <ant:pathconvert property="testSrcSetString" pathSep="||||"
- refid="maven.test.compile.src.set"/>
- <u:tokenize var="testDirs" delim="||||">${testSrcSetString}</u:tokenize>
<ant:clover-setup
initstring="${cloverDatabase}"
@@ -144,6 +141,11 @@
<!-- Conditionally instrument test code -->
<j:if test="${context.getVariable('maven.clover.instrument.tests') ==
'true'}">
+
+ <ant:pathconvert property="testSrcSetString" pathSep="||||"
+ refid="maven.test.compile.src.set"/>
+ <u:tokenize var="testDirs" delim="||||">${testSrcSetString}</u:tokenize>
+
<j:forEach var="testDir" items="${testDirs}">
<ant:fileset dir="${testDir}">
<ant:include name="**/*.java"/>
1.32 +4 -0 maven-plugins/clover/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/clover/xdocs/changes.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- changes.xml 10 Jul 2004 13:04:46 -0000 1.31
+++ changes.xml 16 Jul 2004 09:47:39 -0000 1.32
@@ -26,6 +26,10 @@
</properties>
<body>
<release version="1.6-SNAPSHOT" date="in CVS">
+ <action dev="vmassol" type="fix">
+ Prevented the <code>clover:on</code> goal from failing when there are
+ no unit tests sources available.
+ </action>
<action dev="vmassol" type="update">
Updated to Clover Ant 1.3_01.
</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]