maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r886844 - /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
Date Thu, 03 Dec 2009 16:28:12 GMT
Author: dennisl
Date: Thu Dec  3 16:28:04 2009
New Revision: 886844

URL: http://svn.apache.org/viewvc?rev=886844&view=rev
Log:
[MSITE-406] jetty in site run holds unnecessary file lock in windows
Submitted by: Michael Osipov
Reviewed by: Dennis Lundberg

Modified:
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java?rev=886844&r1=886843&r2=886844&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteRunMojo.java
Thu Dec  3 16:28:04 2009
@@ -148,6 +148,7 @@
         webapp.setContextPath( "/" );
         webapp.setResourceBase( tempWebappDirectory.getAbsolutePath() );
         webapp.setAttribute( DoxiaFilter.SITE_RENDERER_KEY, siteRenderer );
+       	webapp.getInitParams().put( "org.mortbay.jetty.servlet.Default.useFileMappedBuffer",
"false" );
 
         // For external reports
         project.getReporting().setOutputDirectory( tempWebappDirectory.getAbsolutePath()
);



Mime
View raw message