ASF Bugzilla – Attachment 25588 Details for
Bug 49418
Add support for non-ASCII encoding to <junitreport> task
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Yet another patch, using HTML output only (only covers -frames and stderr)
ant-49418-best.diff (text/plain), 1.80 KB, created by
Jesse Glick
on 2010-06-11 10:17:53 UTC
(
hide
)
Description:
Yet another patch, using HTML output only (only covers -frames and stderr)
Filename:
MIME Type:
Creator:
Jesse Glick
Created:
2010-06-11 10:17:53 UTC
Size:
1.80 KB
patch
obsolete
>Index: src/etc/junit-frames.xsl >=================================================================== >--- src/etc/junit-frames.xsl (revision 952791) >+++ src/etc/junit-frames.xsl (working copy) >@@ -4,7 +4,7 @@ > xmlns:redirect="http://xml.apache.org/xalan/redirect" > xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils" > extension-element-prefixes="redirect"> >-<xsl:output method="html" indent="yes" encoding="US-ASCII"/> >+<xsl:output method="html" indent="yes" encoding="UTF-8"/> > <xsl:decimal-format decimal-separator="." grouping-separator=","/> > <!-- > Licensed to the Apache Software Foundation (ASF) under one or more >@@ -122,8 +122,15 @@ > </redirect:write> > </xsl:if> > <xsl:if test="string-length(./system-err)!=0"> >- <redirect:write file="{$output.dir}/{$package.dir}/{@id}_{@name}-err.txt"> >- <xsl:value-of disable-output-escaping="yes" select="./system-err"/> >+ <redirect:write file="{$output.dir}/{$package.dir}/{@id}_{@name}-err.html"> >+ <html> >+ <head> >+ <title>Standard Error from <xsl:value-of select="@name"/></title> >+ </head> >+ <body> >+ <pre><xsl:value-of select="./system-err"/></pre> >+ </body> >+ </html> > </redirect:write> > </xsl:if> > <xsl:if test="@failures != 0"> >@@ -392,7 +399,7 @@ > <xsl:if test="string-length(./system-err)!=0"> > <div class="Properties"> > <a> >- <xsl:attribute name="href">./<xsl:value-of select="@id"/>_<xsl:value-of select="@name"/>-err.txt</xsl:attribute> >+ <xsl:attribute name="href">./<xsl:value-of select="@id"/>_<xsl:value-of select="@name"/>-err.html</xsl:attribute> > System.err » > </a> > </div>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 49418
:
25571
|
25572
|
25581
|
25587
| 25588