Hi place the xmlLogger as the first publisher, and see if that helps
with kind regards Ruben Willems On Wed, Aug 27, 2008 at 12:58 AM, Steve <[EMAIL PROTECTED]> wrote: > > I have a build process that writes out the results of the unit tests > in xml format, and tries to include them in the publishers task. The > build log indicates that the file was merged, but the contents of the > file are nowhere to be found. > > My publishers task: > <publishers> > <merge> > <files> > <file>g:\ccnet_build\cap\5.6.x-build\release\build\output > \coverage\coverage.xml</file> > <file>g:\ccnet_build\cap\5.6.x-build\release\build\output > \tests\*.test.xml</file> > </files> > </merge> > <xmllogger/> > </publishers> > > ccnet.log output: > 2008-08-26 15:39:50,524 [cap_5.6.x-build:INFO] Task execution failed > 2008-08-26 15:39:50,539 [cap_5.6.x-build:INFO] Task output: ..snip > unit test failure output... <stacktrace><![CDATA[ at > NAnt.Core.Tasks.FailTask.ExecuteTask() > at NAnt.Core.Task.Execute() > at NAnt.Core.TaskContainer.ExecuteChildTasks() > at NAnt.Core.Tasks.LoopTask.ExecuteChildTasks() > at NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals) > at NAnt.Core.Tasks.LoopTask.ExecuteTask() > at NAnt.Core.Task.Execute() > at NAnt.Core.Target.Execute() > at NAnt.Core.Project.Execute(String targetName, Boolean > forceDependencies) > at NAnt.Core.Tasks.CallTask.ExecuteTask() > at NAnt.Core.Task.Execute() > at NAnt.Core.Target.Execute() > at NAnt.Core.Project.Execute(String targetName, Boolean > forceDependencies) > at NAnt.Core.Project.Execute() > at NAnt.Core.Project.Run()]]></stacktrace></builderror></ > failure><duration>358078.125</duration></buildresults> > > 2008-08-26 15:39:50,602 [cap_5.6.x-build:INFO] Merging file: g: > \ccnet_build\cap\5.6.x-build\release\build\output\coverage > \coverage.xml > 2008-08-26 15:39:50,602 [cap_5.6.x-build:WARN] File not Found: g: > \ccnet_build\cap\5.6.x-build\release\build\output\coverage > \coverage.xml > 2008-08-26 15:39:50,602 [cap_5.6.x-build:INFO] Merging file: > wsidmgmt.test.xml > 2008-08-26 15:39:50,602 [cap_5.6.x-build:INFO] Integration complete: > Failure - 8/26/2008 3:39:50 PM > > > The coverage.xml file isn't found, which is to be expected, but it > seems to indicate that wsidmgmt.test.xml is merged. The file contains > valid xml, and the build is just failing because of the failed unit > tests. Any ideas why this would be happening? > > Thanks, > Steve >
