BUILD FAILED
I originally thought that this was due to the fact that my "formatter" with the
<nunit2> task was set to "Plain". I changed all of my tests to an "Xml" formatter and
I am still getting the following error. My task looks like:
<nunitreport out="${build.dir}/results/TestSummary.html">
<fileset>
<include name="${build.dir}/results/*-results" />
</fileset>
</nunitreport>
I looked at all of the "-results" and they are all XML. I am not sure what I am doing
wrong.
Kevin
INTERNAL ERROR
System.Xml.XmlException: The data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReader.ParseRoot()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at NAnt.Contrib.Tasks.NUnitReportTask.ExecuteTask() in C:\Documents and
Settings\drieseng\Local Settings\Temp\tmp127.tmp\src\Tasks\NUnitReportTask.cs:line 125
at NAnt.Core.Task.Execute() in C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp382.tmp\src\NAnt.Core\Task.cs:line 177
at NAnt.Core.Target.Execute() in C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp382.tmp\src\NAnt.Core\Target.cs:line 249
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in
C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp382.tmp\src\NAnt.Core\Project.cs:line 876
at NAnt.Core.Project.Execute() in C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp382.tmp\src\NAnt.Core\Project.cs:line 833
at NAnt.Core.Project.Run() in C:\Documents and Settings\drieseng\Local
Settings\Temp\tmp382.tmp\src\NAnt.Core\Project.cs:line 902
Please send bug report to [EMAIL PROTECTED]
Total time: 1234.7 seconds.
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers