~ubuntu-branches/ubuntu/wily/monodevelop/wily

« back to all changes in this revision

Viewing changes to src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpBindingCompilerManager.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-02-02 11:39:59 UTC
  • mfrom: (10.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100202113959-n3u848nfj35yyd03
Tags: 2.2.1+dfsg-1
* New upstream release
* debian/control:
  + Standards version 3.8.4 (no changes needed)
* debian/patches/remove_support_for_non_debian_functionality.patch,
  debian/patches/remove_support_for_soft_debugger.patch,
  debian/patches/remove_support_for_moonlight.patch,
  debian/rules:
  + Split patch into two pieces, to make it easier to enable either
    SDB or Moonlight support with a rebuild
* debian/monodevelop-moonlight.install,
  debian/monodevelop-debugger-sdb.install,
  debian/control:
  + Create packaging data for the Soft Debugger addin and Moonlight addin -
    and comment them out of debian/control as we can't provide them on
    Debian for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
                        
288
288
                        //if compiler crashes, output entire error string
289
289
                        if (result.ErrorCount == 0 && exitCode != 0) {
290
 
                                if (!string.IsNullOrEmpty (error))
291
 
                                        result.AddError (error);
292
 
                                else
293
 
                                        result.AddError ("The compiler appears to have crashed without any error output.");
 
290
                                try {
 
291
                                        monitor.Log.Write (File.ReadAllText (error));
 
292
                                } catch (IOException) {
 
293
                                }
 
294
                                result.AddError ("The compiler appears to have crashed. Check the build output pad for details.");
 
295
                                LoggingService.LogError ("C# compiler crashed. Response file '{0}', stdout file '{1}', stderr file '{2}'",
 
296
                                                         responseFileName, output, error);
 
297
                        } else {
 
298
                                FileService.DeleteFile (responseFileName);
 
299
                                FileService.DeleteFile (output);
 
300
                                FileService.DeleteFile (error);
294
301
                        }
295
 
                        
296
 
                        FileService.DeleteFile (responseFileName);
297
 
                        FileService.DeleteFile (output);
298
 
                        FileService.DeleteFile (error);
299
302
                        return result;
300
303
                }
301
304