| Summary: | Jetty chooses "work" as the webapp temporary directory. | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Guy Hillyer <eclipse> |
| Component: | server | Assignee: | Greg Wilkins <gregw> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jetty-inbox |
| Version: | unspecified | ||
| Target Milestone: | 7.5.x | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Guy Hillyer
The work directory is a feature not a bug:) There are applications that wish to use have their "temporary" files retained from one run to another - compiled JSP classes are one example of this. The naming convention of a "work" directory that keeps it's contents is differentiated from a "temp" directory that does not. If you explicitly set a temp directory on a context, you will avoid the search for a work directory. Alternately you could replace the WebInfConfiguration class in the servers configuration list, with your own implementation that extends the original but has a different implementation of resolvTempDirectory. |