Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 56406 invoked from network); 8 Aug 2006 11:12:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 11:12:28 -0000 Received: (qmail 32094 invoked by uid 500); 8 Aug 2006 11:12:26 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 32042 invoked by uid 500); 8 Aug 2006 11:12:25 -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 32000 invoked by uid 99); 8 Aug 2006 11:12:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 04:12:25 -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.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 04:12:23 -0700 Received: by nf-out-0910.google.com with SMTP id n28so206917nfc for ; Tue, 08 Aug 2006 04:12:02 -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=Eifmlfom5BbYP850IJdyWRSxBEauYdfKVLE7W67LCYf96QlnG8wxx6vDVXlAuUZ0uV8nwPACJF3W4Dhi+LYIE8RGMSE6CluoLprx2HYloNOuHotQkhbbenIqOTNlZx7API/Uh8moPgfBc2XdkICoiVlOH0jtUQvFxgNXSVV5ZaA= Received: by 10.78.193.19 with SMTP id q19mr2710076huf; Tue, 08 Aug 2006 04:12:02 -0700 (PDT) Received: by 10.78.140.8 with HTTP; Tue, 8 Aug 2006 04:12:02 -0700 (PDT) Message-ID: <510143ac0608080412oe4b0ae4pc3430400834a7e89@mail.gmail.com> Date: Tue, 8 Aug 2006 14:12:02 +0300 From: "Jukka Zitting" To: dev@jackrabbit.apache.org Subject: Re: [jira] Commented: (JCR-442) Implement a backup tool In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <653998.1148469389882.JavaMail.jira@brutus> <7065951.1155021915504.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, On 8/8/06, Nicolas wrote: > I have done so. Actually either the bug is in importXML or I am not using > this method correctly One thing you should do is to use the constats in javax.jcr.ImportUUIDBehaviour instead of magic numbers, but that's not likely the cause of your issue. Also, now that I re-review the code... An s2.save() followed by s2.logout() after the import will probably solve the issue. :-) BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - info@yukatan.fi Software craftsmanship, JCR consulting, and Java development