Prevented the <code>clover:on</code> goal from failing when there are no unit tests sources available.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d53e83548a
commit
fbc42cc8af
@ -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"/>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user