[Monodevelop-patches-list] r2249 - trunk/MonoDevelop/Extras/MonoDeveloperExtensions
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Feb 11 23:10:04 EST 2005
Author: lluis
Date: 2005-02-11 23:10:04 -0500 (Fri, 11 Feb 2005)
New Revision: 2249
Added:
trunk/MonoDevelop/Extras/MonoDeveloperExtensions/ChangeLog
Modified:
trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoMakefileFormat.cs
trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoProject.cs
Log:
2005-02-12 Lluis Sanchez Gual <lluis at novell.com>
* MonoProject.cs: Don't try to parse errors from the stdout, only
from stderr.
* MonoMakefileFormat.cs: In GetValidFormatName, keep the file path.
Added: trunk/MonoDevelop/Extras/MonoDeveloperExtensions/ChangeLog
===================================================================
--- trunk/MonoDevelop/Extras/MonoDeveloperExtensions/ChangeLog 2005-02-12 00:56:06 UTC (rev 2248)
+++ trunk/MonoDevelop/Extras/MonoDeveloperExtensions/ChangeLog 2005-02-12 04:10:04 UTC (rev 2249)
@@ -0,0 +1,6 @@
+2005-02-12 Lluis Sanchez Gual <lluis at novell.com>
+
+ * MonoProject.cs: Don't try to parse errors from the stdout, only
+ from stderr.
+ * MonoMakefileFormat.cs: In GetValidFormatName, keep the file path.
+
Modified: trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoMakefileFormat.cs
===================================================================
--- trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoMakefileFormat.cs 2005-02-12 00:56:06 UTC (rev 2248)
+++ trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoMakefileFormat.cs 2005-02-12 04:10:04 UTC (rev 2249)
@@ -43,7 +43,7 @@
public string GetValidFormatName (string fileName)
{
- return "Makefile";
+ return Path.Combine (Path.GetDirectoryName (fileName), "Makefile");
}
public bool CanReadFile (string file)
Modified: trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoProject.cs
===================================================================
--- trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoProject.cs 2005-02-12 00:56:06 UTC (rev 2248)
+++ trunk/MonoDevelop/Extras/MonoDeveloperExtensions/MonoProject.cs 2005-02-12 04:10:04 UTC (rev 2249)
@@ -142,7 +142,7 @@
tw.ChainWriter (output);
tw.ChainWriter (monitor.Log);
- ProcessWrapper proc = Runtime.ProcessService.StartProcess ("make", "PROFILE=" + conf.Profile, conf.OutputDirectory, tw, tw, null);
+ ProcessWrapper proc = Runtime.ProcessService.StartProcess ("make", "PROFILE=" + conf.Profile, conf.OutputDirectory, monitor.Log, tw, null);
proc.WaitForOutput ();
CompilerResults cr = new CompilerResults (null);
More information about the Monodevelop-patches-list
mailing list