PR : MPLINKCHECK-27

Submitted by : Dennis Lundberg
Maven 1.0.x incompatibility problem : The report is incomplete if one or more files has errors in them
The test added doesn't yet fails if there's a problem
This test isn't actually executed in maven 1.1 because of MAVEN-1638

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@409311 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2006-05-25 06:30:57 +00:00
1 parent 2477a44749
commit 469c7467a3
9 files changed
+156 -14

No files matched your search

+2 -2
View File
@@ -36,7 +36,7 @@
<section name="Link Check Report">
<p><b><span style="color:#00AA00;text-align:right"><x:expr select="count(file)"/> </span></b> file(s) and <b><span style="color:#00AA00;text-align:right"><x:expr select="sum(file/unsuccessful)+sum(file/successful)"/> </span></b> link(s) checked. <b><span style="color:#FF0000;text-align:right"><x:expr select="count(file/result[status='error'])"/></span></b> error(s) and <b><span style="color:#FFA916;text-align:right"><x:expr select="count(file/result[status='warning'])"/></span></b> warning(s) reported in <b><span style="color:#00AA00;text-align:right"><x:expr select="count(file[unsuccessful!=0])"/> </span></b> file(s).</p>
<j:set var="nbFilesInError"><x:expr select="count(file[unsuccessful!=0])"/></j:set>
<j:if test="${nbFilesInError gt 0}">
<j:if test="${nbFilesInError != '0'}">
<table summary="Link Check summary">
<thead>
<tr>
@@ -82,4 +82,4 @@
</body>
</document>
</jsl:template>
</jsl:stylesheet>
</jsl:stylesheet>