*/
protected File getConfigDir(DeploymentConfig config) throws DeploymentException {
File dir = super.getConfigDir(config);
String serv = config.getDeploymentProperty("tomcat.service");
if(serv == null) {
throw new DeploymentException("tomcat.service is not defined");
}
dir = new File(dir, serv);
String host = config.getDeploymentProperty("tomcat.host");
if(host == null) {
throw new DeploymentException("tomcat.host is not defined");
}
dir = new File(dir, host);
dir.mkdirs();
return dir;
}