Fix location of Tomcat6 home to be inside target

This commit is contained in:
mposolda 2014-11-21 17:28:46 +01:00
parent 96d430cd7e
commit e3e47a9246
2 changed files with 2 additions and 1 deletions

View file

@ -52,6 +52,7 @@ public class TomcatServer {
server = new Embedded(); server = new Embedded();
server.setName("TomcatEmbeddedServer"); server.setName("TomcatEmbeddedServer");
server.setCatalinaBase(TomcatTest.getBaseDirectory());
Host localHost = server.createHost("localhost", appBase); Host localHost = server.createHost("localhost", appBase);
localHost.setAutoDeploy(false); localHost.setAutoDeploy(false);

View file

@ -162,7 +162,7 @@ public class TomcatTest {
} }
private static String getBaseDirectory() { static String getBaseDirectory() {
String dirPath = null; String dirPath = null;
String relativeDirPath = "testsuite" + File.separator + "tomcat6" + File.separator + "target"; String relativeDirPath = "testsuite" + File.separator + "tomcat6" + File.separator + "target";