|
@@ -123,11 +123,13 @@ public class HttpServerFunctionalTest extends Assert {
|
|
File testWebappDir = new File(webapps +
|
|
File testWebappDir = new File(webapps +
|
|
File.separatorChar + TEST);
|
|
File.separatorChar + TEST);
|
|
try {
|
|
try {
|
|
- if (!testWebappDir.exists()) {
|
|
|
|
- fail("Test webapp dir " + testWebappDir.getCanonicalPath() + " missing");
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- catch (IOException e) {
|
|
|
|
|
|
+ if (!testWebappDir.exists()) {
|
|
|
|
+ if (!testWebappDir.mkdirs()) {
|
|
|
|
+ fail("Test webapp dir " + testWebappDir.getCanonicalPath()
|
|
|
|
+ + " can not be created");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ } catch (IOException e) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|