Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 10006 invoked from network); 28 Jul 2006 21:04:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 21:04:05 -0000 Received: (qmail 60800 invoked by uid 500); 28 Jul 2006 21:04:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 60769 invoked by uid 500); 28 Jul 2006 21:04:04 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 60760 invoked by uid 99); 28 Jul 2006 21:04:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 14:04:04 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jukka.zitting@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 14:04:03 -0700 Received: by nf-out-0910.google.com with SMTP id o25so338775nfa for ; Fri, 28 Jul 2006 14:03:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mEKKj+VFONu3td4QRv/0d613QemTOWRJ0MI6XEDIDJkpYclBRr/I7Vaco8X5ZVwZUOHkvwm0Trod6a35syuJRMIkVddfr9yNaAOBffve90vmaLO7jgY7wKm0ZyYkx5Hzw1OSAdUGBQ+SC2mlwjU2EzxQfvO+9GaTa0QY2BF22nQ= Received: by 10.78.147.3 with SMTP id u3mr986903hud; Fri, 28 Jul 2006 14:03:42 -0700 (PDT) Received: by 10.78.34.10 with HTTP; Fri, 28 Jul 2006 14:03:42 -0700 (PDT) Message-ID: <510143ac0607281403u35b75b3apd9c928893c314b02@mail.gmail.com> Date: Sat, 29 Jul 2006 00:03:42 +0300 From: "Jukka Zitting" To: dev@jackrabbit.apache.org Subject: Re: Creating the tmp directory if it doesn't exist In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, On 7/28/06, Nicolas wrote: > The backup code is using a tmp directory configured in the XML conf file. If > the directory doesn't exist, the code throws an exception. It seems the > right behaviour to me. But if you'd prefer, I can create the directory > and/or reset it. I think it's better to automatically create such a working directory if it doesn't exist. It simplifies deployment and doesn't really hurt anyone. BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - info@yukatan.fi Software craftsmanship, JCR consulting, and Java development