Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 85141 invoked from network); 17 Nov 2005 10:47:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Nov 2005 10:47:09 -0000 Received: (qmail 40193 invoked by uid 500); 17 Nov 2005 10:47:07 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 40178 invoked by uid 99); 17 Nov 2005 10:47:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 02:47:07 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gazarenkov@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2005 02:48:41 -0800 Received: by wproxy.gmail.com with SMTP id 71so1631118wri for ; Thu, 17 Nov 2005 02:46:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:reply-to:to:references:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole:from; b=WxFilkcj4mB0y10KBjtSHwx/OZBe39L0Q+y1t5twCtsCgE3DKDAoEJUfB/DYMt8sj8v8IPwktUzm/wiB41C1A0KJXu74JPd2a1ANatIw6gi20Yddt1UAlHu0pcRwPY8l+fZZ5Yu4KrM8aTx3LC51lQMOwvPuSvWMmi10cx3lLVU= Received: by 10.65.107.7 with SMTP id j7mr2949311qbm; Thu, 17 Nov 2005 02:46:44 -0800 (PST) Received: from Gennady ( [193.0.240.10]) by mx.gmail.com with ESMTP id f12sm658913qba.2005.11.17.02.46.43; Thu, 17 Nov 2005 02:46:43 -0800 (PST) Message-ID: <004d01c5eb64$33fcf540$bb0e020a@Gennady> Reply-To: "Gennady Azarenkov" To: References: <437BAC76.6090804@cognifide.com> Subject: Re: How to clone single node only ? Date: Thu, 17 Nov 2005 12:46:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-2"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 From: Gennady Azarenkov X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N looks like you need to copy the corresponding node's property only right? why do not just get corresponding node from source workspace (using getCorrespondingPath()), remove all properties from target and replace them with source node's properties if so (and maybe to do the same with mixin types ;) ) regards, Gennady Azarenkov eXo platform ----- Original Message ----- From: "Przemyslaw Pakulski" To: Sent: Thursday, November 17, 2005 12:02 AM Subject: How to clone single node only ? > Hi, > > It is possible to clone node without all subtree ? > Maybe I missed something, but I can't find any method to do that using > JCR API. > > Any ideas how to solve this issue ? > I wonder if exportDocumentView, importXML methods is a good workaround > to clone single node into other workspace ? > > Regards > Przemo >