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-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Sun, 31 Aug 2003 15:51:14 GMT
remm        2003/08/31 08:51:14

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  - Add an unpackWAR field to allow saving the attribute to the XML.
  
  Revision  Changes    Path
  1.87      +26 -1     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.86
  retrieving revision 1.87
  diff -u -r1.86 -r1.87
  --- StandardContext.java	21 Aug 2003 04:17:06 -0000	1.86
  +++ StandardContext.java	31 Aug 2003 15:51:14 -0000	1.87
  @@ -418,6 +418,12 @@
   
   
       /**
  +     * Unpack WAR property.
  +     */
  +    private boolean unpackWAR = true;
  +
  +
  +    /**
        * The DefaultContext override flag for this web application.
        */
       private boolean override = false;
  @@ -1394,6 +1400,25 @@
   
       }
   
  +
  +    /**
  +     * Unpack WAR flag accessor.
  +     */
  +    public boolean getUnpackWAR() {
  +
  +        return (unpackWAR);
  +
  +    }
  +
  +
  +    /**
  +     * Unpack WAR flag mutator.
  +     */
  +    public void setUnpackWAR(boolean unpackWAR) {
  +
  +        this.unpackWAR = unpackWAR;
  +
  +    }
   
       /**
        * Return the Java class name of the Wrapper implementation used
  
  
  

Mime
View raw message