Beispiel #1
0
  /** Sets the war-dir for backwards compatibility. */
  public void setWarDir(Path warDir) throws ConfigException {
    getWarGenerator().setPath(warDir);

    if (!_hasWarGenerator) {
      _hasWarGenerator = true;
      addWebAppDeploy(getWarGenerator());
    }
  }
Beispiel #2
0
 /** Sets the war-expansion */
 public void addDeploy(DeployGenerator<WebAppController> deploy) throws ConfigException {
   if (deploy instanceof WebAppExpandDeployGenerator)
     addWebAppDeploy((WebAppExpandDeployGenerator) deploy);
   else _appDeploy.add(deploy);
 }