336220 - tmp directory is not set if you reload a webapp with jetty-maven-plugin

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3270 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jan Bartel 2011-05-26 02:13:56 +00:00
parent 09bb70c161
commit 07c619d457
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,5 @@
jetty-7.4.2-SNAPSHOT
+ 336220 tmp directory is not set if you reload a webapp with jetty-maven-plugin
+ 338364 Fixed expires header for set cookies
+ 345729 binding for managing server and system classes globally
+ 345615 Enable SSL Session caching

View File

@ -165,10 +165,13 @@ public class WebInfConfiguration extends AbstractConfiguration
{
IO.delete(context.getTempDirectory());
context.setTempDirectory(null);
//clear out the context attributes for the tmp dir only if we had to
//create the tmp dir
context.setAttribute(TEMPDIR_CONFIGURED, null);
context.setAttribute(context.TEMPDIR, null);
}
context.setAttribute(TEMPDIR_CONFIGURED, null);
context.setAttribute(context.TEMPDIR, null);
//reset the base resource back to what it was before we did any unpacking of resources
context.setBaseResource(_preUnpackBaseResource);