PR: MPJUNITREPORT-2

Fix formatting/escaping of error messages.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@393643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl committed 2006-04-12 23:08:03 +00:00
1 parent ba7fca35bc
commit 926adeeca4
2 files changed
+5 -4

No files matched your search

+4 -4
View File
@@ -63,9 +63,9 @@
<define:tag name="displayFailure">
<j:choose>
<j:when test="${current.attribute('message') != null}">
<code>
<code><pre>
${current.attributeValue('message')}
</code>
</pre></code>
</j:when>
<j:otherwise>
N/A
@@ -401,10 +401,10 @@ ${current.attributeValue('message')}
<td colspan="2">
<!-- removing stacktrace generated by maven -->
<!-- no way to preserve newlines, jelly strips out everything -->
<code>
<code><pre>
${exceptionTool.truncateNestedStackTrace(exceptionTool.truncateNestedStackTrace(failure.text, 'at org.apache.commons.jelly.tags.ant.AntTag.doTag'),
'at sun.reflect.NativeMethodAccessorImpl.invoke0(')}
</code>
</pre></code>
</td>
</tr>
</tbody>