Author: ankit Date: 2008-01-19 13:35:48 -0500 (Sat, 19 Jan 2008) New Revision: 93326
Modified: branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/ChangeLog branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs Log: * Change Console.WriteLines to LoggingService calls. Modified: branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/ChangeLog =================================================================== --- branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/ChangeLog 2008-01-19 18:35:35 UTC (rev 93325) +++ branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/ChangeLog 2008-01-19 18:35:48 UTC (rev 93326) @@ -1,3 +1,7 @@ +2008-01-20 Ankit Jain <[EMAIL PROTECTED]> + + * Change Console.WriteLines to LoggingService calls. + 2008-01-19 Ankit Jain <[EMAIL PROTECTED]> * SimpleProjectMakefileHandler.cs: Ensure that custom-hooks.make is Modified: branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs =================================================================== --- branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs 2008-01-19 18:35:35 UTC (rev 93325) +++ branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/MakefileProjectServiceExtension.cs 2008-01-19 18:35:48 UTC (rev 93326) @@ -62,8 +62,8 @@ try { MakefileData.ResolveProjectReferences (c, monitor); } catch (Exception e) { - Console.WriteLine (GettextCatalog.GetString ( - "Error resolving Makefile based project references for solution {0}", c.Name)); + LoggingService.LogError (GettextCatalog.GetString ( + "Error resolving Makefile based project references for solution {0}", c.Name), e); monitor.ReportError (GettextCatalog.GetString ( "Error resolving Makefile based project references for solution {0}", c.Name), e); } @@ -112,8 +112,8 @@ try { data.UpdateMakefile (monitor); } catch (Exception e) { - Console.WriteLine ("Error saving to Makefile ({0}) for project {1} : {2}", - data.AbsoluteMakefileName, project.Name, e.ToString ()); + LoggingService.LogError (GettextCatalog.GetString ("Error saving to Makefile ({0}) for project {1}", + data.AbsoluteMakefileName, project.Name, e)); monitor.ReportError (GettextCatalog.GetString ( "Error saving to Makefile ({0}) for project {1}", data.AbsoluteMakefileName, project.Name), e); } Modified: branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs =================================================================== --- branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs 2008-01-19 18:35:35 UTC (rev 93325) +++ branches/monodevelop/main/1.0/src/addins/MonoDevelop.Autotools/SolutionDeployer.cs 2008-01-19 18:35:48 UTC (rev 93326) @@ -126,7 +126,7 @@ catch ( Exception e ) { monitor.ReportError ( GettextCatalog.GetString ("{0} could not be generated: ", filesString ), e ); - Console.WriteLine (e.ToString ()); + LoggingService.LogError (GettextCatalog.GetString ("{0} could not be generated: ", filesString ), e); DeleteGeneratedFiles ( context ); return false; } _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches