throw new IllegalArgumentException("serverInfo cannot be null.");
}
this.serverInfo = serverInfo;
FarmWarDeployer farm = (FarmWarDeployer)deployer;
if (tempDir == null)
tempDir = "var/catalina/war-temp";
farm.setTempDir(serverInfo.resolvePath(tempDir));
if (deployDir == null)
deployDir = "var/catalina/war-deploy";
farm.setDeployDir(serverInfo.resolvePath(deployDir));
if (watchDir == null)
watchDir = "var/catalina/war-listen";
farm.setWatchDir(serverInfo.resolvePath(watchDir));
farm.setWatchEnabled(watchEnabled);
farm.setProcessDeployFrequency(processDeployFrequency);
}