Got it, thanks for the reply. Do you have a link to the bug that I can track it's progress?
On Nov 20, 10:36 pm, "Craig & Sammi Sutherland" <cj.sutherl...@xtra.co.nz> wrote: > It is possible to use dynamic values for internal operations - they just > need to be escaped, e.g. $[$CCNetLabel]. I know this may seem weird, but > there is some logic behind it. The $[...] syntax tells the pre-processor > that this is a dynamic value. The $CCNet... says that this is a CCNET > defined value. > > That's the good news, the bad news is there is currently a bug in the > pre-processor where it is not handling array definitions - e.g. the > <files>...</files> definition. So even changing to $[...] won't fix it - > hopefully we'll find some time to look into it soon. > > Craig > > -----Original Message----- > From: Gimpster [mailto:cornel...@gmail.com] > Sent: Saturday, 21 November 2009 1:24 p.m. > To: ccnet-user > Subject: [ccnet-user] Dynamic Parameters in the Publisher block? > > I've recently upgraded to the CCNET 1.5 and I want to start using the > dynamic parameters in my build configuration. I have a set of MSTest > results that are output to a unique build directory and I want to > include those results in my build report, but the Publisher block > doesn't seem to like the dynamic parameters I'm using. Am I doing it > wrong? Is this a bug or is this just not supported? > > Here's my Publisher block: > > <publishers> > <merge> > <files> > <file>C:\Builds\$CCNetLabel\test_results > \testResults.Dashboard.BusinessLogic.trx</file> > <file>C:\Builds\$CCNetLabel\test_results > \testResults.Dashboard.Domain.Services.trx</file> > </files> > </merge> > <xmllogger /> > <statistics /> > <modificationHistory /> > </publishers> > </project> > > Here's what the log file says about it: > > 2009-11-20 16:05:24,020 [Dashboard:WARN] File not found 'C:\Builds\ > $CCNetLabel\test_results\testResults.Dashboard.BusinessLogic.trx > 2009-11-20 16:05:24,020 [Dashboard:WARN] File not found 'C:\Builds\ > $CCNetLabel\test_results\testResults.Dashboard.Domain.Services.trx > > I read through the Dynamic Parameters documentation (http:// > confluence.public.thoughtworks.org/display/CCNET/Dynamic+Parameters) > but I couldn't find anything that talked about using dynamic > parameters for internal CCNET operations. All of the examples they > have are dealing with external processes (like NAnt).