/** Sets the war-dir for backwards compatibility. */ public void setWarDir(Path warDir) throws ConfigException { getWarGenerator().setPath(warDir); if (!_hasWarGenerator) { _hasWarGenerator = true; addWebAppDeploy(getWarGenerator()); } }
/** Sets the war-expansion */ public void addDeploy(DeployGenerator<WebAppController> deploy) throws ConfigException { if (deploy instanceof WebAppExpandDeployGenerator) addWebAppDeploy((WebAppExpandDeployGenerator) deploy); else _appDeploy.add(deploy); }