Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 41279 invoked from network); 13 Oct 2010 08:22:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 08:22:05 -0000 Received: (qmail 25980 invoked by uid 500); 13 Oct 2010 08:22:04 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 25815 invoked by uid 500); 13 Oct 2010 08:22:02 -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 25806 invoked by uid 99); 13 Oct 2010 08:22:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 08:22:02 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stefan.guggisberg@gmail.com designates 74.125.83.42 as permitted sender) Received: from [74.125.83.42] (HELO mail-gw0-f42.google.com) (74.125.83.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 08:21:55 +0000 Received: by gwb1 with SMTP id 1so1158639gwb.1 for ; Wed, 13 Oct 2010 01:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=7HrWiEWShUsgRDkppVxtzOIcRlzAX8qRe0v1qWcBLuo=; b=lzewrkshVTH6UqDpSyj9IyVKeig/LsVKAx6S/j46KxxLrpiWXYSVKcGcxfJSCywYOX bwy3c1uspKesO//6mDcFpMqzxInKL172BJAt0K0l9lD+BwxJN3n7c72UZddVo2B/iWec Ofk/xGsb5D7jDMlsVLgvc8Pme+JcLiTxzxors= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=obvC7f7hlxhy4gGh6kEw4FVPUh6Iyi+bRrZqKIwsEkdehQx+zvucu3bwwtrSPWx51l l/L9OSugzUruqglE0qg6PmM4kDKa5g55ScVKIclQuEMbfenlM6QQUQlRxL8I/i9smHeq Bwpr0l/GpgcYqiEJruqvqU6yTCVGnEoK7VjXQ= MIME-Version: 1.0 Received: by 10.90.54.1 with SMTP id c1mr3792172aga.25.1286958093559; Wed, 13 Oct 2010 01:21:33 -0700 (PDT) Sender: stefan.guggisberg@gmail.com Received: by 10.101.117.1 with HTTP; Wed, 13 Oct 2010 01:21:33 -0700 (PDT) In-Reply-To: References: Date: Wed, 13 Oct 2010 10:21:33 +0200 X-Google-Sender-Auth: tnKO4qH-pHzdEfPAxgX6HoQ5wCg Message-ID: Subject: Re: behavour of workspace.copy() From: Stefan Guggisberg To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Oct 13, 2010 at 12:52 AM, ChadDavis wr= ote: > The specification says that copying into an existing node can do a > sort of smart update or throw an ItemExistsException, depending upon > the implementation. =A0What does Jackrabbit do? =A0I can observe what > happens, but I'd like to know all the details. i guess you're refering to the following phrase (javadoc): When a node N is copied to a location where a node N' already exists, the repository may either immediately throw an ItemExistsException or attempt to update the node N' by selectively replacing part of its subgraph with a copy of the relevant part of the subgraph of N. If the node types of N and N' are compatible, the implementation supports update-on-copy for these node types and no other errors occur, then the copy will succeed. Otherwise an ItemExistsException is thrown. jackrabbit does not support "update-on-copy". this 'feature' has been introduced relatively late in the jsr-283 development cycle, the justification being improved WebDAV/Delta-V (RFC 3253) compatibility. cheers stefan > > I would think this type of information would be somewhere . . . but I > can't find it. =A0Feel free to RTFM me, as long as you provide a link. >