Build-Log in Dashboard

"Samuel Bernet" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <88198B395B704D428A3617BE87B8BB6735B8C0@kw11>
Hi,

I've seen this question raised several times in the mailing list and
other places but never found a definitive answer:

In the dashboard on the build detail tab of a build there is a "build
log" tab with a link to download the build log in raw XML format.
There's no other content on this page (dashboard - NOT the classic
reporting application). 

I'd like to see the transformed build log (not the XML) inline on this
tab. Is this possible at all?

Usually the link
http://confluence.public.thoughtworks.org/display/CC/CustomiseJSPReporti
ng comes up as a response, but AFAIK this does not relate to the
dashboard but to the old reporting application only. 

What I did for now (but deem unsatisfactory) is adding a "View log" link
to this panel, redirecting to the build results page of the old
reporting application. This is my current content of the
webapps\dashboard\WEB-INF\vm\build_detail\build_detail_partial_log.vm
Template:

<div id="build_log" class="widget"  $log_extra_attrs>
    <h2>Build Log</h2>
    <span class="logfile"><a
href="$req.getContextPath()/tab/build/download/log/$projectName/$logfile
">Download log</a></span>
    <p/>
    <span class="logfile"><a
href="$req.getContextPath()/../cruisecontrol
/buildresults/${projectName}">View log</a></span>
</div>

Maybe this workaround can help other people, if there's really no
solution to this problem...

My Setup:
CC 2.8.2 on Windows Server 2008 (Standard Edition, SP1, 64-Bit) without
Jetty (Web-Apps running in Tomcat 5.5.17).

Best regards

Samuel Bernet
MSc ETH in Software Engineering
[email protected]
+41 (0)44 883 35 45

K&W Software AG
Rosenbergstrasse 1
8304 Wallisellen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.