Author: ankit
Date: 2007-12-14 09:03:10 -0500 (Fri, 14 Dec 2007)
New Revision: 91286

Modified:
   trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog
   trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileData.cs
Log:
* MakefileData.cs: Re-init Build vars when the owner project gets set.


Modified: trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog   
2007-12-14 13:54:23 UTC (rev 91285)
+++ trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/ChangeLog   
2007-12-14 14:03:10 UTC (rev 91286)
@@ -1,5 +1,9 @@
 2007-12-14  Ankit Jain  <[EMAIL PROTECTED]>
 
+       * MakefileData.cs: Re-init Build vars when the owner project gets set.
+
+2007-12-14  Ankit Jain  <[EMAIL PROTECTED]>
+
        * SolutionDeployer.cs: Remove dead code.
 
 2007-12-14  Ankit Jain  <[EMAIL PROTECTED]>

Modified: 
trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileData.cs
===================================================================
--- trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileData.cs     
2007-12-14 13:54:23 UTC (rev 91285)
+++ trunk/monodevelop/main/src/addins/MonoDevelop.Autotools/MakefileData.cs     
2007-12-14 14:03:10 UTC (rev 91286)
@@ -112,6 +112,7 @@
                                        };
                                }
                                ownerProject = value;
+                               InitBuildVars ();
                        }
                }
 
@@ -853,7 +854,7 @@
 
                                        if (!File.Exists (absPath)) {
                                                //Invalid file, maybe we 
couldn't parse it correctly!
-                                               Console.WriteLine ("Invalid 
file : '{0}'. Ignoring", fname);
+                                               LoggingService.LogWarning 
(GettextCatalog.GetString ("Invalid file : '{0}' found in '{1}' for project - 
'{2}'. Ignoring.", f, relativeMakefileName, OwnerProject.Name));
                                                fileVar.Extra.Add (f);
                                                continue;
                                        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to