Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 94603 invoked from network); 18 Jul 2008 14:40:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 14:40:49 -0000 Received: (qmail 22368 invoked by uid 500); 18 Jul 2008 14:40:47 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 22350 invoked by uid 500); 18 Jul 2008 14:40:47 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 22339 invoked by uid 99); 18 Jul 2008 14:40:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 07:40:47 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.e.harris@gmail.com designates 216.239.58.187 as permitted sender) Received: from [216.239.58.187] (HELO gv-out-0910.google.com) (216.239.58.187) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 14:39:54 +0000 Received: by gv-out-0910.google.com with SMTP id n40so76865gve.18 for ; Fri, 18 Jul 2008 07:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=oHIibX9F355SdjniHGwqRX0CDmk0OZyj4TDalJcqVhc=; b=Fvs1PyuWS1S+Qfuj2GKswAl0AQ00dUNA93kazIeVfLsFLI2yyBjrHsoKj3cumUD0H5 zMQ0xZmutHJOz8jheao/Xxnp4jgnTlKZctsF/jo8120yIrKrKirhHL5R4KXLu6yf2cWG hmfyMDBnvy6eDgJaXoSBXt9xKSsRRz0FrduCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=ii6KzXJq63Fv5c8gyXVJ9jgWvkzig+EYy5yaAt1Tz5a0V7mrdoVgC/UbeEoM01s3Ov h7AXVoVMve9Uij+HtZ/woxRAovD+YWrPyyMZkf0S2bzt5BQdIuW55Hq3XJpa8ywWs8n2 20eSjbbp3y7Bzw06at41LqCXIzMwlHd/g7Ul4= Received: by 10.103.225.2 with SMTP id c2mr157487mur.93.1216392016391; Fri, 18 Jul 2008 07:40:16 -0700 (PDT) Received: by 10.103.22.2 with HTTP; Fri, 18 Jul 2008 07:40:16 -0700 (PDT) Message-ID: <82670ba40807180740o42a75384m21d303c35ce54c03@mail.gmail.com> Date: Fri, 18 Jul 2008 10:40:16 -0400 From: "Michael Harris" To: users@jackrabbit.apache.org Subject: Re: newb transient repository questions In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26953_1458917.1216392016395" References: <82670ba40807180622j600c5461mf4bf311a67f241ec@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_26953_1458917.1216392016395 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hmm thanx -- I could have looked in the api for that....sorry On Fri, Jul 18, 2008 at 10:33 AM, Alexander Klimetschek wrote: > On Fri, Jul 18, 2008 at 3:22 PM, Michael Harris > wrote: > > So from advice received in another thread, I have a test environment that > > uses a SimpleWebdavServlet extension running in jetty, which is embedded > in > > a test harness. From that I can sort of list the contents of the > > TransientRepo created by the Servlet. > > > > 1. The TR goes away if its session is closed. Is there any way to get a > > session that needs to be explicitly closed? > > AFAIK it goes away if the last session is closed. You could keep a > dummy session. > > > 2. With a TR can I programmatically configure the repo root directory? > > TransientRepository repo = new > TransientRepository("/path/to/repository.xml", > "/path/to/repository-home"); > > The second param is the repository home directory (if that is what you > mean by root dir). > > Regards, > Alex > > > -- > Alexander Klimetschek > alexander.klimetschek@day.com > -- --------------------- Michael Harris ------=_Part_26953_1458917.1216392016395--