Fix location of Tomcat6 home to be inside target
This commit is contained in:
parent
96d430cd7e
commit
e3e47a9246
2 changed files with 2 additions and 1 deletions
|
@ -52,6 +52,7 @@ public class TomcatServer {
|
|||
|
||||
server = new Embedded();
|
||||
server.setName("TomcatEmbeddedServer");
|
||||
server.setCatalinaBase(TomcatTest.getBaseDirectory());
|
||||
|
||||
Host localHost = server.createHost("localhost", appBase);
|
||||
localHost.setAutoDeploy(false);
|
||||
|
|
|
@ -162,7 +162,7 @@ public class TomcatTest {
|
|||
}
|
||||
|
||||
|
||||
private static String getBaseDirectory() {
|
||||
static String getBaseDirectory() {
|
||||
String dirPath = null;
|
||||
String relativeDirPath = "testsuite" + File.separator + "tomcat6" + File.separator + "target";
|
||||
|
||||
|
|
Loading…
Reference in a new issue