Forgive me for butting in, but I might have a hint that would help. I thought CC.NET automatically directs NAnt to produce XML output which can be merged. If I'm correct, you don't have to do any of this, it should Just Work.
http://confluence.public.thoughtworks.org/display/CCNET/NAnt+Builder On Wed, 2005-02-23 at 16:14 -0600, Chris Taylor wrote: > Alright, so I figured out my problem form yesterday. It helped that I > pointed it to which directory the test was in and boom, were done.. > > So unit tests are running and I'm happy. but I want the XML output > from Nunit so I can merge that with CC.NET 0.8. > > I'm using nant 0.85rc2 (0.85.1869.0) > > and here is my file > > <nunit2 verbose="true"> > <formatter usefile="true" extension=".xml" > outputdir="${dir.artifacts}" type="Xml" /> > <test assemblyname="${dir.output}\IFX.TrackZilla.Allocations.UnitTests.dll" > /> > </nunit2> > > if I set usefile=false.. works fine... > > if I set usefile=true > > I get > > > Build Error: NAnt.Core.BuildException > Tests Failed. > in C:\BuildSupport\Projects\AgileTimeTracker2005\webservice\default.build > line: 93 col: 4 > > at NAnt.NUnit2.Tasks.NUnit2Task.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() > > > which is referring the the aformentioned XML... > Frustating when your this close and have something silly step in the way! =) > > Thanks in advance, > Chris > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nant-users mailing list > Nant-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users ---------- Scanned for viruses by ClamAV ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users