We are currently using exec to launch devenv also (moving to the solution task is on my plate for eventually). The way we test whether or not the compile failed is to use the <available> task on each output file after devenv is done (we delete the files before invoking devenv). Hope that helps.
Nick http://www.varacalli.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Perkin Sent: Monday, November 10, 2003 10:57 To: [EMAIL PROTECTED] Subject: [Nant-users] Setting Build Fail flag when Devenv encounters an error Hi Folks, Currently running Devenv with <exec> and it only fails if Devenv does not run (bad parameter, etc); but it outputs a compile.log that contains compile errors. I need to set a build Fail flag when Devenv encounters an error. Does anyone out there know of a way to do this? Regards, Sean Perkin Build Developer Cactus Commerce 819.778.0313 . 315 819.771.0921 http://www.cactuscommerce.com [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users