0N/A<
xsl:
output method="html" indent="yes" encoding="US-ASCII"/>
809N/A Licensed to the Apache Software Foundation (ASF) under one or more 809N/A contributor license agreements. See the NOTICE file distributed with 809N/A this work for additional information regarding copyright ownership. 809N/A The ASF licenses this file to You under the Apache License, Version 2.0 809N/A (the "License"); you may not use this file except in compliance with 809N/A the License. You may obtain a copy of the License at 809N/A Unless required by applicable law or agreed to in writing, software 809N/A distributed under the License is distributed on an "AS IS" BASIS, 809N/A WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 809N/A See the License for the specific language governing permissions and 809N/A limitations under the License. 0N/A The purpose have this XSL is to provide a nice way to look at the output 0N/A @author <a href="mailto:sbailliez@apache.org">Stephane Bailliez</a> 0N/A<
xsl:
decimal-
format decimal-
separator="." grouping-
separator="," />
0N/A<
xsl:
template match="/">
0N/A font:normal 100% arial,helvetica,sanserif;
0N/A background-color:#FFFFFF;
0N/A font:bold 80% arial,helvetica,sanserif;
0N/A background-color:#525D76;
0N/A background-color: red;
0N/A background-color: #525D76;
0N/A background: #efefef;
0N/A vertical-align: top;
0N/A font:bold 80% arial,helvetica,sanserif;
0N/A background: #525D76;
0N/A text-decoration: none;
0N/A <!-- jakarta logo --> 0N/A <
table border="0" cellpadding="0" cellspacing="0" width="100%">
0N/A <
td valign="top" class="bannercell">
0N/A <
td style="text-align:right;vertical-align:bottom">
0N/A <
table border="0" width="100%">
0N/A <
tr><
td><
hr noshade="yes" size="1"/></
td></
tr>
0N/A <
xsl:
apply-
templates select="build"/>
0N/A<
xsl:
template match="build">
0N/A <!-- build status --> 0N/A <
table width="100%">
0N/A <
xsl:
attribute name="class">
0N/A <
xsl:
if test="@error">failed</
xsl:
if>
0N/A <
xsl:
if test="not(@error)">complete</
xsl:
if>
0N/A <
xsl:
if test="@error">
0N/A <
td nowrap="yes">Build Failed</
td>
0N/A <
xsl:
if test="not(@error)">
0N/A <
td nowrap="yes">Build Complete</
td>
0N/A <
td style="text-align:right" nowrap="yes">Total Time: <
xsl:
value-
of select="@time"/></
td>
0N/A <
xsl:
if test="@error">
0N/A <
tt><
xsl:
value-
of select="@error"/></
tt><
br/>
0N/A <
i style="font-size:80%">See the <
a href="#stacktrace" alt="Click for details">stacktrace</
a>.</
i>
0N/A <
table border="1" cellspacing="2" cellpadding="3" width="100%" style="font-size:80%">
0N/A <
tr class="a"><
td width="1">
ant.file</
td><
td><
xsl:
value-
of select="substring-after(//message[contains(text(),'ant.file')], '->')"/></
td></
tr>
0N/A <
tr class="b"><
td width="1">
ant.version</
td><
td><
xsl:
value-
of select="substring-after(//message[contains(text(),'ant.version')], '->')"/></
td></
tr>
0N/A <
tr class="a"><
td width="1">
java.version</
td><
td><
xsl:
value-
of select="substring-after(//message[contains(text(),'java.vm.version')], '->')"/></
td></
tr>
0N/A <
tr class="b"><
td width="1">
os.name</
td><
td><
xsl:
value-
of select="substring-after(//message[contains(text(),'os.name')], '->')"/></
td></
tr>
0N/A <!-- build information --> 0N/A <
h3>Build events</
h3>
0N/A <
table class="log" border="1" cellspacing="2" cellpadding="3" width="100%">
0N/A <
th nowrap="yes" align="left" width="1%">target</
th>
0N/A <
th nowrap="yes" align="left" width="1%">task</
th>
0N/A <
th nowrap="yes" align="left">message</
th>
0N/A <
xsl:
apply-
templates select=".//message[@priority != 'debug']"/>
0N/A <
xsl:
if test="stacktrace">
0N/A <
a name="stacktrace"/>
0N/A <
h3>Error details</
h3>
0N/A <
table width="100%">
0N/A <
pre><
xsl:
value-
of select="stacktrace"/></
pre>
0N/A<!-- report every message but those with debug priority --> 0N/A<
xsl:
template match="message[@priority!='debug']">
0N/A <!-- alternated row style --> 0N/A <
xsl:
attribute name="class">
0N/A <
xsl:
if test="position() mod 2 = 1">a</
xsl:
if>
0N/A <
xsl:
if test="position() mod 2 = 0">b</
xsl:
if>
0N/A <
td nowrap="yes" width="1%"><
xsl:
value-
of select="../../@name"/></
td>
0N/A <
td nowrap="yes" style="text-align:right" width="1%">[ <
xsl:
value-
of select="../@name"/> ]</
td>
0N/A <
td class="{@priority}" nowrap="yes">
0N/A <
xsl:
value-
of select="text()"/>