[BUG 283172] fix build on windows
* Ensure tmpdir exists * Ensure tmpdir is not reused between tests git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@549 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
b3c82d1bbf
commit
1c11416ad4
|
@ -83,7 +83,11 @@ public abstract class RFC2616BaseTest extends AbstractJettyTestCase
|
|||
{
|
||||
super.setUp();
|
||||
|
||||
File testWorkDir = new File(getTargetDir(), "work" + File.pathSeparator + getName());
|
||||
File testWorkDir = new File(getTargetDir(),"work" + File.separator + getClass().getSimpleName() + File.separator + getName());
|
||||
if (!testWorkDir.exists())
|
||||
{
|
||||
testWorkDir.mkdirs();
|
||||
}
|
||||
|
||||
System.setProperty("java.io.tmpdir",testWorkDir.getAbsolutePath());
|
||||
|
||||
|
|
Loading…
Reference in New Issue