Use servlet context temp directory from ${jetty.base}/work, not ${jetty.home}/work

This commit is contained in:
Joakim Erdfelt 2013-10-07 12:02:05 -07:00
parent a1775c4415
commit 90b7a3fc23
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ public class WebInfConfiguration extends AbstractConfiguration
try
{
// Put the tmp dir in the work directory if we had one
File work = new File(System.getProperty("jetty.home"),"work");
File work = new File(System.getProperty("jetty.base"),"work");
if (work.exists() && work.canWrite() && work.isDirectory())
{
makeTempDirectory(work, context, false); //make a tmp dir inside work, don't delete if it exists