Bugs item #888996, was opened at 2004-02-02 12:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=888996&group_id=31650
Category: Tasks Group: 0.8.4.0 Status: Open Resolution: None Priority: 5 Submitted By: Nicklas Norling (exinor) Assigned to: Nobody/Anonymous (nobody) Summary: Errors missed in XML log Initial Comment: Hi. When running a <solution> task I run into an error caused by a developer forgetting to check in the resx file. This is what Nant says in the console. BUILD FAILED Resource 'C:\CvsModules\Gurka\MontgomeryClient\src\fndwin\framew ork\Controls\Ifs.Fnd.Windows.Forms.InfoViz.GraphControl\VScrollBar.resx' does not exist. However, having also got XML logging turned on show this for the same piece. - <message level="Info"> - <![CDATA[ Writing resource file... Done. ]]> </message> </task> </task> </target> </buildresults> </task> </target> </buildresults> </task> </target> As you can see the resgen.exe output is written to the XML log as well as the console, except for when the error appears. This may be connected to a structure problem in the XML, all the resgen.exe output is written to the console on the same level until the error occurs. When the error occurs the BUILD FAILED text appers one level out (on the solution level) and the failing details from resgen.exe is written to the same level (one level out). While this might seem a small thing, it's pretty nasty for automated builds. Using CCNet the build email will be missing the entire Errors/Warnings section due there being no errors logged in the XML file. But CCNet is able to indicate that the build failed. Steps to reproduce: 1. Get a project with at least one resx file included in it. 2. Create a nant script using the solution task to compile the project. 3. use nant with parameter -logger:NAnt.Core.XmlLogger 4. Rename/remove the resx file and compile. The resuting xml logfile should show the problem. /Nicke ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=888996&group_id=31650 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers