From users-return-17251-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Mar 28 19:55:13 2011 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 10856 invoked from network); 28 Mar 2011 19:55:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 19:55:13 -0000 Received: (qmail 97064 invoked by uid 500); 28 Mar 2011 19:55:12 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 97041 invoked by uid 500); 28 Mar 2011 19:55:12 -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 97030 invoked by uid 99); 28 Mar 2011 19:55:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 19:55:12 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david@liip.ch designates 207.126.144.145 as permitted sender) Received: from [207.126.144.145] (HELO eu1sys200aog118.obsmtp.com) (207.126.144.145) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 19:55:05 +0000 Received: from source ([74.125.82.171]) (using TLSv1) by eu1sys200aob118.postini.com ([207.126.147.11]) with SMTP ID DSNKTZDnhMOm+FILXFOZHR3eVu/Do/Vc0kqa@postini.com; Mon, 28 Mar 2011 19:54:45 UTC Received: by mail-wy0-f171.google.com with SMTP id 32so3622226wyb.30 for ; Mon, 28 Mar 2011 12:54:44 -0700 (PDT) Received: by 10.216.135.230 with SMTP id u80mr2568174wei.114.1301342083062; Mon, 28 Mar 2011 12:54:43 -0700 (PDT) Received: from [10.0.0.3] (84-72-74-43.dclient.hispeed.ch [84.72.74.43]) by mx.google.com with ESMTPS id a50sm1628185wer.18.2011.03.28.12.54.41 (version=SSLv3 cipher=OTHER); Mon, 28 Mar 2011 12:54:41 -0700 (PDT) Message-ID: <4D90E780.1090909@liip.ch> Date: Mon, 28 Mar 2011 21:54:40 +0200 From: David Buchmann User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: jcr remoting davex: register node type Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi, i tried to use the NodeTypeManager registerNodeType method with the davex remoting part. this throws the exception java.lang.UnsupportedOperationException: JCR-2003. Implementation missing org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.registerNodeTypes(RepositoryServiceImpl.java:2244) ... from there i find this https://issues.apache.org/jira/browse/JCR-2454 now i would be really glad to have this feature. i would be ok to implement it myself as apparently nobody else needed it desperatly enough to invest time in it. finding the client side of this is trivial of course. but i just spent 2 hours trying to understand the server side code without much success. i am not even sure if i look in the right place. i tried to follow org.apache.jackrabbit.server.io.PropertyManagerImpl it would be great if somebody could give me some pointers where to start this task. * is there a definition what xml has to be sent to the server? * what is the workflow on the server side? is there any documentation on this? * where do i start on the server side? is there maybe an other example like registering a namespace that i can follow as a guideline? how can i trace what is done for that example? the code to demo the issue is at https://github.com/jackalope/JavaDavexClient/blob/master/examples/RegisterNodeTypes-Client.java cheers,david -- Liip AG // Agile Web Development // T +41 26 422 25 11 CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch