maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r746600 - /maven/doxia/doxia-sitetools/branches/doxia-sitetools-1.0.x/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Date Sat, 21 Feb 2009 23:07:32 GMT
Author: brianf
Date: Sat Feb 21 23:07:32 2009
New Revision: 746600

URL: http://svn.apache.org/viewvc?rev=746600&view=rev
Log:
Insert a comment to stop 0 byte site.css file. DOXIA-290

Modified:
    maven/doxia/doxia-sitetools/branches/doxia-sitetools-1.0.x/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java

Modified: maven/doxia/doxia-sitetools/branches/doxia-sitetools-1.0.x/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/branches/doxia-sitetools-1.0.x/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java?rev=746600&r1=746599&r2=746600&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/branches/doxia-sitetools-1.0.x/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
(original)
+++ maven/doxia/doxia-sitetools/branches/doxia-sitetools-1.0.x/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Sat Feb 21 23:07:32 2009
@@ -727,7 +727,9 @@
                     "The file '" + siteCssFile.getAbsolutePath() + "' does not exists. Creating
an empty file." );
             }
             FileWriter w = new FileWriter( siteCssFile );
-            w.write( "" );
+            
+            //put something in the file so it's not completely empty - DOXIA-290
+            w.write( "/* You can override this file with your own styles */" );
             IOUtil.close( w );
         }
     }



Mime
View raw message