You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by kw...@apache.org on 2002/05/16 23:48:28 UTC

cvs commit: xml-xindice/java/src/org/apache/xindice/server/standard StdFileManager.java

kward       02/05/16 14:48:28

  Modified:    java/src/org/apache/xindice/server/standard
                        StdFileManager.java
  Log:
  patch from David Ku <ku...@yahoo-inc.com> to fix temp dir
  
  Revision  Changes    Path
  1.2       +2 -1      xml-xindice/java/src/org/apache/xindice/server/standard/StdFileManager.java
  
  Index: StdFileManager.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/server/standard/StdFileManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StdFileManager.java	6 Dec 2001 19:33:56 -0000	1.1
  +++ StdFileManager.java	16 May 2002 21:48:28 -0000	1.2
  @@ -56,7 +56,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    *
  - * $Id: StdFileManager.java,v 1.1 2001/12/06 19:33:56 bradford Exp $
  + * $Id: StdFileManager.java,v 1.2 2002/05/16 21:48:28 kward Exp $
    */
   
   import org.apache.xindice.server.*;
  @@ -95,6 +95,7 @@
         maxBytes = config.getIntAttribute(MAXBYTES);
         chunkSize = config.getIntAttribute(CHUNKSIZE);
         tempDir = new File(config.getAttribute(TMPDIR));
  +      tempDir.mkdirs();
      }
   
      public Configuration getConfig() {