Use servlet context temp directory from ${jetty.base}/work, not ${jetty.home}/work
This commit is contained in:
parent
a1775c4415
commit
90b7a3fc23
|
@ -293,7 +293,7 @@ public class WebInfConfiguration extends AbstractConfiguration
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Put the tmp dir in the work directory if we had one
|
// 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())
|
if (work.exists() && work.canWrite() && work.isDirectory())
|
||||||
{
|
{
|
||||||
makeTempDirectory(work, context, false); //make a tmp dir inside work, don't delete if it exists
|
makeTempDirectory(work, context, false); //make a tmp dir inside work, don't delete if it exists
|
||||||
|
|
Loading…
Reference in New Issue