开发者

How do I force Jetty's Maven plugin to close its file handles?

I am developing a web application using Maven and I am using Jetty's plugin (mvn jetty:run) to speed up develop开发者_开发百科ment. Unfortunately, the plugin appears to keep static files open (such as JavaScript files), thus preventing me from saving subsequent changes. My only solution so far is to restart the server, but that wastes a lot of time.

How can I force Jetty's Maven plugin to release its file handles to static resources?


See http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows

<init-param>
  <param-name>useFileMappedBuffer</param-name>
  <param-value>true</param-value> <!-- change to false -->
</init-param>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜