tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup HostConfig.java
Date Mon, 22 Oct 2001 05:15:51 GMT
remm        01/10/21 22:15:51

  Modified:    catalina/src/share/org/apache/catalina/startup
                        HostConfig.java
  Log:
  - Add new auto deploy flag. If true, the web applcations will be automatically
    deployed by the host configurator.
  
  Revision  Changes    Path
  1.12      +7 -6      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/HostConfig.java
  
  Index: HostConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/HostConfig.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- HostConfig.java	2001/10/20 18:43:52	1.11
  +++ HostConfig.java	2001/10/22 05:15:51	1.12
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/HostConfig.java,v
1.11 2001/10/20 18:43:52 remm Exp $
  - * $Revision: 1.11 $
  - * $Date: 2001/10/20 18:43:52 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup/HostConfig.java,v
1.12 2001/10/22 05:15:51 remm Exp $
  + * $Revision: 1.12 $
  + * $Date: 2001/10/22 05:15:51 $
    *
    * ====================================================================
    *
  @@ -100,7 +100,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.11 $ $Date: 2001/10/20 18:43:52 $
  + * @version $Revision: 1.12 $ $Date: 2001/10/22 05:15:51 $
    */
   
   public class HostConfig
  @@ -600,8 +600,9 @@
           // Loop until the termination semaphore is set
           while (!threadDone) {
   
  -            // Deploy apps
  -            deployApps();
  +            // Deploy apps if the Host allows auto deploying
  +            if (host.getAutoDeploy())
  +                deployApps();
   
               // Check for web.xml modification
               checkWebXmlLastModified();
  
  
  

Mime
View raw message