Remove Host.liveDeploy that just duplicates Host.autoDeploy
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Jan 2011 16:01:09 +0000 (16:01 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Jan 2011 16:01:09 +0000 (16:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1057252 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardHost.java
webapps/docs/html-manager-howto.xml
webapps/docs/manager-howto.xml

index bda6008..1d7422c 100644 (file)
@@ -166,7 +166,8 @@ public class StandardHost extends ContainerBase implements Host {
       */
      private Map<ClassLoader, String> childClassLoaders =
          new WeakHashMap<ClassLoader, String>();
-
+     
+     
     // ------------------------------------------------------------- Properties
 
 
@@ -398,28 +399,6 @@ public class StandardHost extends ContainerBase implements Host {
     
     
     /**
-     * Return the value of the live deploy flag.  If true, it indicates that 
-     * a background thread should be started that looks for web application
-     * context files, WAR files, or unpacked directories being dropped in to
-     * the <code>appBase</code> directory, and deploys new ones as they are
-     * encountered.
-     */
-    public boolean getLiveDeploy() {
-        return (this.autoDeploy);
-    }
-
-
-    /**
-     * Set the live deploy flag value for this host.
-     * 
-     * @param liveDeploy The new live deploy flag
-     */
-    public void setLiveDeploy(boolean liveDeploy) {
-        setAutoDeploy(liveDeploy);
-    }
-
-
-    /**
      * Return the Java class name of the error report valve class
      * for new web applications.
      */
index e8d5990..1dd65f4 100644 (file)
@@ -467,9 +467,9 @@ file, the war will be unpacked into a directory in your Host appBase
 directory.</p>
 
 <p>If the application war or directory is deployed in your Host appBase
-directory and either the Host is configured with autoDeploy=true or
-liveDeploy=true, the Context path must match the directory name or
-war file name without the ".war" extension.</p>
+directory and either the Host is configured with autoDeploy=true the Context
+path must match the directory name or war file name without the ".war"
+extension.</p>
 
 <p>For security when untrusted users can manage web applications, the
 Host deployXML flag can be set to false.  This prevents untrusted users
@@ -528,9 +528,9 @@ error message.  Possible causes for problems include:</p>
 <li><em>Context path must match the directory or WAR file name:</em>
     <blockquote>
     If the application war or directory is deployed in your Host appBase
-    directory and either the Host is configured with autoDeploy=true or
-    liveDeploy=true, the Context path must match the directory name or
-    war file name without the ".war" extension.
+    directory and either the Host is configured with autoDeploy=true the Context
+    path must match the directory name or war file name without the ".war"
+    extension.
     </blockquote></li>
 <li><em>Only web applications in the Host web application directory can
      be deployed</em>
index 3bc29b6..cac1592 100644 (file)
@@ -426,9 +426,9 @@ file, the war will be unpacked into a directory in your Host appBase
 directory.</p>
 
 <p>If the application war or directory is installed in your Host appBase
-directory and either the Host is configured with autoDeploy=true or
-liveDeploy=true, the Context path must match the directory name or
-war file name without the ".war" extension.</p>
+directory and either the Host is configured with autoDeploy=true or the
+Context path must match the directory name or war file name without the
+".war" extension.</p>
 
 <p>For security when untrusted users can manage web applications, the
 Host deployXML flag can be set to false.  This prevents untrusted users
@@ -488,9 +488,9 @@ error message.  Possible causes for problems include:</p>
 <li><em>Context path must match the directory or WAR file name:</em>
     <blockquote>
     If the application war or directory is installed in your Host appBase
-    directory and either the Host is configured with autoDeploy=true or
-    liveDeploy=true, the Context path must match the directory name or
-    war file name without the ".war" extension.
+    directory and either the Host is configured with autoDeploy=true the
+    Context path must match the directory name or war file name without
+    the ".war" extension.
     </blockquote></li>
 <li><em>Only web applications in the Host web application directory can
      be installed</em>