<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space">
<DIV><SPAN class=453420718-07062006><FONT face=Arial color=#0000ff
size=2>Eric,</FONT></SPAN></DIV>
<DIV><SPAN class=453420718-07062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=453420718-07062006><FONT face=Arial color=#0000ff size=2>Sorry
we have not been able to get to your issue yet. I think your request is
very reasonable. We need to reconcile the XML file that you are submitting
with the XML parsing and reporting code. It sounds plausible that Dart is
restricting the Build testnames to be .Build.StageName.Error or
.Build.StageName.Warning. We should be able to fix this so the names are
.Build.StageName1.StageNameA.StageNamei.Error, etc.</FONT></SPAN></DIV>
<DIV><SPAN class=453420718-07062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=453420718-07062006><FONT face=Arial color=#0000ff
size=2>Jim</FONT></SPAN></DIV>
<DIV><SPAN class=453420718-07062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=453420718-07062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
dart-bounces+millerjv=crd.ge.com@public.kitware.com
[mailto:dart-bounces+millerjv=crd.ge.com@public.kitware.com]<B>On Behalf Of
</B>Eric Meek<BR><B>Sent:</B> Wednesday, June 07, 2006 10:50 AM<BR><B>To:</B>
dart@public.kitware.com<BR><B>Subject:</B> Re: [Dart] Dart
StackTrace<BR><BR></FONT></DIV>Since I haven't received any responses to my
first e-mail, I and a co-worker have been doing some testing and have
discovered a build test with more then 2 periods in it causes the StackTrace
below unless the third period is followed by either Error or
Warning. For example, if I create a build test with the name
.Build.Preparation the stack trace doesn't appear when visiting the stage
summary page and the Build time is correct on the main Dashboard.
However, if I create a build test with a name .Build.Preparation.untar it
causes the stack trace listed below and the build times are their default
value of 0.0 on the project Dashboard.
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>What I would like to do is organize the build class results in a similar
manner to how I can organize test class results. For example, I would
like to create stages with names of .Build.Preparation.unzip,
.Build.Preparation.untar, etc. This makes browsing the commands more
organized and much nicer. Listing the commands with this type of naming
convention using the Test pages (the pages you access through clicking on the
numbers in the Test columns) works just fine. It is nice viewing the
commands like this with the various sub-levels (e.g. <A
href="http://icl.cs.utk.edu:8081/ReST/Dashboard/TestCatalog?submissionid=33">http://icl.cs.utk.edu:8081/ReST/Dashboard/TestCatalog?submissionid=33</A>
). When doing this the Test pages make a nice summary of a "sub-stage"
viewable on what is called a Meta Test page seen at <A
href="http://icl.cs.utk.edu:8081/ReST/Dashboard/Test?testname=.Build.Preparation&submissionid=33">http://icl.cs.utk.edu:8081/ReST/Dashboard/Test?testname=.Build.Preparation&submissionid=33</A></DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>I say all this to find out if what I am seeing is this a bug causing the
correct use of the DartSubmission xml to fail or miss understanding of the
DartSubmission xml. I've posted one of my xml files that causes the
problem if someone wouldn't mind looking at it. In that version I was
trying to use placeholder class tests to see if that would help, however, it
didn't effect it either way so they can be ignored.</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>All in all, the naming convention between the various classes of results
seems very inconsistent. What I have inferred from the Dart.pdf is
a build result name can be ".Build.*" . In practice, however,
.Build.Preparation.untar works in a few places and breaks most others.</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Thanks again for any help,</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Eric</DIV>
<DIV><BR>
<DIV>
<DIV>"If a first you don't succeed, you're running about average."
- M.H. Alderson</DIV></DIV><BR>
<DIV>
<DIV>On Jun 5, 2006, at 5:11 PM, Eric Meek wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV>Hello,</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>I've been trying to take the output of a utility I'm developing and
submit the results to Dart. When I make the submission, it is received
sucessfully and most everything work but when I click on the 0 in the
Warning or Error column next to the build name I get the error pasted
below.</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>I've tried several changes to my DartSubmission xml to correct this
problem with my latest version posted at <A
href="http://www.cs.utk.edu/~meek/icl/ReST/File71.xml.gz">http://www.cs.utk.edu/~meek/icl/ReST/File71.xml.gz</A></DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>What I am trying to do is have a possible total of 6 different stages
with each stage containing 1 or more commands. </DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Thanks for any help,</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Eric</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>[SocketListener0-0] ERROR freemarker.runtime - </DIV>
<DIV>Expression stage.StageName is undefined on line 82, column 43 in
Build.ftl.</DIV>
<DIV>The problematic instruction:</DIV>
<DIV>----------</DIV>
<DIV>==> ${stage.StageName} [on line 82, column 41 in Build.ftl]</DIV>
<DIV>----------</DIV>
<DIV><BR class=khtml-block-placeholder></DIV>
<DIV>Java backtrace for programmers:</DIV>
<DIV>----------</DIV>
<DIV>freemarker.core.InvalidReferenceException: Expression stage.StageName
is undefined on line 82, column 43 in Build.ftl.</DIV>
<DIV> at
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)</DIV>
<DIV> at
freemarker.core.Expression.getStringValue(Expression.java:118)</DIV>
<DIV> at
freemarker.core.Expression.getStringValue(Expression.java:93)</DIV>
<DIV> at
freemarker.core.DollarVariable.accept(DollarVariable.java:76)</DIV>
<DIV> at
freemarker.core.Environment.visit(Environment.java:196)</DIV>
<DIV> at
freemarker.core.MixedContent.accept(MixedContent.java:92)</DIV>
<DIV> at
freemarker.core.Environment.visit(Environment.java:196)</DIV>
<DIV> at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)</DIV>
<DIV> at
freemarker.core.Environment.visit(Environment.java:351)</DIV>
<DIV> at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)</DIV>
<DIV> at
freemarker.core.Environment.visit(Environment.java:196)</DIV>
<DIV> at
freemarker.core.MixedContent.accept(MixedContent.java:92)</DIV>
<DIV> at
freemarker.core.Environment.visit(Environment.java:196)</DIV>
<DIV> at
freemarker.core.IfBlock.accept(IfBlock.java:82)</DIV>
<DIV> at
freemarker.core.Environment.visit(Environment.java:196)</DIV>
<DIV> at
freemarker.core.MixedContent.accept(MixedContent.java:92)</DIV>
<DIV> at
freemarker.core.Environment.visit(Environment.java:196)</DIV>
<DIV> at
freemarker.core.Environment.process(Environment.java:176)</DIV>
<DIV> at
freemarker.template.Template.process(Template.java:231)</DIV>
<DIV> at
dart.server.servlet.Dashboard.doGet(Dashboard.java:312)</DIV>
<DIV> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:596)</DIV>
<DIV> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)</DIV>
<DIV> at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)</DIV>
<DIV> at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:666)</DIV>
<DIV> at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)</DIV>
<DIV> at
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)</DIV>
<DIV> at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)</DIV>
<DIV> at
org.mortbay.http.HttpServer.service(HttpServer.java:909)</DIV>
<DIV> at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)</DIV>
<DIV> at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)</DIV>
<DIV> at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)</DIV>
<DIV> at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)</DIV>
<DIV> at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)</DIV>
<DIV> at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)</DIV><BR>
<DIV>
<DIV style="MARGIN: 0px"><FONT style="FONT: 12px Helvetica" face=Helvetica
size=3>"It is better to keep your mouth closed and let people think you are
a fool than to open it and remove all doubt." - Samuel
Clemens</FONT></DIV></DIV><BR>
<DIV
style="MARGIN: 0px">_______________________________________________</DIV>
<DIV style="MARGIN: 0px">Dart mailing list</DIV>
<DIV style="MARGIN: 0px"><A
href="mailto:Dart@public.kitware.com">Dart@public.kitware.com</A></DIV>
<DIV style="MARGIN: 0px"><A
href="http://public.kitware.com/mailman/listinfo/dart">http://public.kitware.com/mailman/listinfo/dart</A></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>