I think I ran into an error once and the solution was to change this:

#if ($projectGridRow.BuildStage.Length > 0)

to this:

#if ($projectGridRow.Length > 0)

I don't remember why - but once I updated it all was well.

 - Ron

On Jan 6, 3:31 pm, "Ruben Willems" <[email protected]> wrote:
> hi
>
> ok,
>
> nice to know
>
> you probably got an older version or so
> because when I get the latest source, it is there
>
> did you upgrade on an earlier version,
> and only replace the dll's?
>
> with kind regards
> Ruben Willems
>
> On Tue, Jan 6, 2009 at 9:29 PM, rifferte <[email protected]> wrote:
>
> > Ruben - I got it!
>
> > I added the code snippet and all is working well now!
>
> > Thanks,
>
> >  - Ron
>
> > On Jan 6, 3:23 pm, rifferte <[email protected]> wrote:
> > > Ruben - to answer your questions:
>
> > > 1) Here is my msbuild task section:
>
> > >     <tasks>
> > >       <msbuild>
> > >         <executable>C:\WINDOWS\Microsoft.NET\Framework
> > > \v3.5\MSBuild.exe</executable>
> > >         <projectFile>Project.proj</projectFile>
> > >         <buildArgs>/nologo /noconsolelogger /v:n</buildArgs>
> > >         <targets>Target</targets>
> > >         <timeout>300</timeout>
> > >         <logger>D:\Program Files\CruiseControl.NET\server
> > > \MsBuildListener35.dll</logger>
> > >       </msbuild>
> > >     </tasks>
>
> > > 2) webdashboard\templates\projectgrid.vm  does not have line 220. In
> > > fact, the line you referenced is not there at all.
>
> > > 3) The verbosity you can discern from item 1 - should it be different?
>
> > > 4) The listener file contains data. I actually had it open during a
> > > build, and it was receiving constant updates - so I am sure it is
> > > working.
>
> > > Thanks,
>
> > >  - Ron
>
> > > On Jan 6, 2:38 pm, Daniel Hommel <[email protected]>
> > > wrote:
>
> > > > On Tue, 6 Jan 2009 11:30:05 -0800 (PST)
>
> > > > rifferte <[email protected]> wrote:
>
> > > > > Let me correct that:
>
> > > > > I have a reference to that file in the //dashboard/plugins/
> > > > > buildPlugins/xslReportBuildPlugin node:
>
> > > > > <xslReportBuildPlugin description="MSBuild Report"
> > > > > actionName="MSBuildBuildReport" xslFileName="xsl\msbuild.xsl"/>
>
> > > > > I believe it should be somewhere else though . .  correct?
>
> > > > >  - Ron
>
> > > > Ah, i thought you're talking about the build LOG... didn't read the
> > > > subject carefully enough. So i assume you are seeing the MSBuild logs
> > > > and you want to see the build progress on the farm report page.
>
> > > > By default you should see the "build stage" there. The currently
> > > > running task and it's targets should be shown... I don't know how that
> > > > can fail...
>
> > > > Did you try Rubens plugin already?
> >http://confluence.public.thoughtworks.org/display/CCNETCOMM/Viewing+b...
>
> > > > I do not know much about that plugin as i didn't have the time to try
> > it
> > > > out yet. Maybe Ruben can shed some mor elight on this...
>
> > > > regards,
>
> > > > Daniel
>
> > > > > On Jan 6, 2:11 pm, rifferte <[email protected]> wrote:
> > > > > > OK - I do not have the msbuild.xsl file in my dashboard.config.
>
> > > > > > What section would the reference go?
>
> > > > > >  - Ron
>
> > > > > > On Jan 6, 2:00 pm, Daniel Hommel <[email protected]>
> > > > > > wrote:
>
> > > > > > > On Tue, 6 Jan 2009 10:45:25 -0800 (PST)
>
> > > > > > > rifferte <[email protected]> wrote:
>
> > > > > > > > I am currently trying to get my web dashboard to display the
> > > > > > > > output from MSBuild.
>
> > > > > > > > I am using CC.Net 1.4.2, and MSBuild 3.5.
>
> > > > > > > > I see that the listener file created, so I believe that is set
> > > > > > > > up correctly.
>
> > > > > > > Did you add the MSBuild XSL to the dashboard configuration?
>
> > > > > > > > I have tried the following:
> > > > > > > >  - recompiling the listener.dll to .Net 3.5
> > > > > > > >  - adding a sleep task (for 30 seconds) to ensure that the
> > > > > > > > dashboard has enough time to read the listener file.
>
> > > > > > > The server and the dashboard are completely independent so the
> > > > > > > sleep task is useless.
>
> > > > > > > > So far - nothing seems to be working, and I can't seem to find
> > > > > > > > any further documentation. I can provide more details/setup
> > > > > > > > info as needed.
>
> > > > > > > If you have added the XSL to the dashboard and the server can
> > > > > > > find the logger DLL it should work IMHO.
>
> > > > > > > regards,
>
> > > > > > > Daniel

Reply via email to