Author: joshua
Date: 2005-05-08 19:42:58 -0400 (Sun, 08 May 2005)
New Revision: 44229

Modified:
   trunk/monodoc/tools/ChangeLog
   trunk/monodoc/tools/monodocs2html.cs
Log:
monodocs2html: Create the destination directory if it doesn't exist.



Modified: trunk/monodoc/tools/ChangeLog
===================================================================
--- trunk/monodoc/tools/ChangeLog       2005-05-08 23:27:19 UTC (rev 44228)
+++ trunk/monodoc/tools/ChangeLog       2005-05-08 23:42:58 UTC (rev 44229)
@@ -9,6 +9,7 @@
        * Properties that have different access modifiers on their accessors
          are now given signatures that reflect that.  (But Monodoc doesn't
          recognize this properly.  A format change is needed.)
+       * monodocs2html: Create the destination directory if it doesn't exist.
 
 2005-01-29  Jonathan Pryor <[EMAIL PROTECTED]>
 

Modified: trunk/monodoc/tools/monodocs2html.cs
===================================================================
--- trunk/monodoc/tools/monodocs2html.cs        2005-05-08 23:27:19 UTC (rev 
44228)
+++ trunk/monodoc/tools/monodocs2html.cs        2005-05-08 23:42:58 UTC (rev 
44229)
@@ -59,6 +59,8 @@
                if (opts.source == null || opts.source == "" || opts.dest == 
null || opts.dest == "")
                        throw new ApplicationException("The source and dest 
options must be specified.");
                
+               Directory.CreateDirectory(opts.dest);
+               
                // Load the stylesheets, overview.xml, and resolver
                
                XslTransform overviewxsl = LoadTransform("overview.xsl");

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

Reply via email to