Author: lluis
Date: 2005-05-03 13:16:22 -0400 (Tue, 03 May 2005)
New Revision: 43951

Modified:
   trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
   trunk/mcs/class/System.Web/System.Web.Compilation/WebServiceCompiler.cs
Log:
2005-05-03  Lluis Sanchez Gual <[EMAIL PROTECTED]>

        * WebServiceCompiler.cs: Create the temp directory before
        creating the web service source code file.



Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-05-03 
17:04:41 UTC (rev 43950)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-05-03 
17:16:22 UTC (rev 43951)
@@ -1,3 +1,8 @@
+2005-05-03  Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+       * WebServiceCompiler.cs: Create the temp directory before
+       creating the web service source code file.
+
 2005-04-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * AspGenerator.cs: when checking languages, try to match other aliases

Modified: 
trunk/mcs/class/System.Web/System.Web.Compilation/WebServiceCompiler.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/WebServiceCompiler.cs     
2005-05-03 17:04:41 UTC (rev 43950)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/WebServiceCompiler.cs     
2005-05-03 17:16:22 UTC (rev 43951)
@@ -90,6 +90,9 @@
                        tempcoll = new TempFileCollection 
(config.TempDirectory, keepFiles);
                        compilerParameters.TempFiles = tempcoll;
 
+                       if (!Directory.Exists (dynamicBase))
+                               Directory.CreateDirectory (dynamicBase);
+
                        inputFile = tempcoll.AddExtension 
(provider.FileExtension);
                        Stream st = File.OpenWrite (inputFile);
                        StreamWriter sw = new StreamWriter (st);
@@ -97,8 +100,6 @@
                        sw.Close ();
 
                        string dllfilename = Path.GetFileName 
(tempcoll.AddExtension ("dll", true));
-                       if (!Directory.Exists (dynamicBase))
-                               Directory.CreateDirectory (dynamicBase);
 
                        compilerParameters.OutputAssembly = Path.Combine 
(dynamicBase, dllfilename);
 

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

Reply via email to