Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 800A3C8EF for ; Thu, 24 May 2012 09:35:12 +0000 (UTC) Received: (qmail 45189 invoked by uid 500); 24 May 2012 09:35:12 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 44722 invoked by uid 500); 24 May 2012 09:35:04 -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 44682 invoked by uid 99); 24 May 2012 09:35:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 09:35:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willscheidegger@mac.com designates 17.158.233.227 as permitted sender) Received: from [17.158.233.227] (HELO nk11p99mm-asmtpout006.mac.com) (17.158.233.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 09:34:57 +0000 MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Received: from [192.168.1.46] (132-193.196-178.cust.bluewin.ch [178.196.193.132]) by nk11p03mm-asmtp996.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0M4I000LRT8SU140@nk11p03mm-asmtp996.mac.com> for users@jackrabbit.apache.org; Thu, 24 May 2012 09:34:37 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7724,1.0.260,0.0.0000 definitions=2012-05-24_05:2012-05-24,2012-05-24,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1205240036 Subject: Re: Work on Jackrabbit OCM From: Will Scheidegger In-reply-to: Date: Thu, 24 May 2012 11:34:03 +0200 Content-transfer-encoding: quoted-printable Message-id: <5E9A5D5E-6B9F-4516-9165-8BDDA72AA42D@mac.com> References: To: users@jackrabbit.apache.org X-Mailer: Apple Mail (2.1278) X-Virus-Checked: Checked by ClamAV on apache.org Hi Ard This is only very vaguely related to what you are doing,=85 but since = you seem to have commit rights on OCM and you will be working on it: A long time ago I discussed a bug in the DefaultCollectionConverterImpl = class [1]. It seems like this bug still exists today [2]. I'm not sure, = but I think I provided a patch back then. In any case, the patch would = be: --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -111,7 +111,7 @@ + collectionDescriptor.getFieldName() + " for the = classdescriptor : " + = collectionDescriptor.getClassDescriptor().getClassName()); } =20 - Node collectionNode =3D parentNode.addNode(jcrName); + Node collectionNode =3D parentNode.addNode(jcrName, = collectionDescriptor.getJcrType()); =20 ClassDescriptor elementClassDescriptor =3D = mapper.getClassDescriptorByClass( = ReflectionUtils.forName(collectionDescriptor.getElementClassName())); =20 Best regards, will [1] = http://www.apacheserver.net/OCM-1-6-CollectionDescriptor-getJcrType-at1960= 70.htm [2] = https://svn.apache.org/repos/asf/jackrabbit/commons/ocm/trunk/src/main/jav= a/org/apache/jackrabbit/ocm/manager/collectionconverter/impl/DefaultCollec= tionConverterImpl.java On 23.05.2012, at 17:34, Ard Schrijvers wrote: > Hello, >=20 > I will be working on Jackrabbit ocm [1] the coming weeks. Currently, > there are no branches nor tags since it has been moved to jackrabbit > commons. I also noticed that it does compile against jackrabbit core > 2.4.1, however it has some test failures. All tests run fine until jr > core 2.2.9 >=20 > I'll fix the code / unit tests to align it with 2.4.1, but will also > pick up other work/tasks (like trying to avoid slow queries) : We are > planning to integrate it into rave [1] as an optional persistence > layer to store for example page definitions >=20 > If there are developers would like me to first branch the current > trunk against jackrabbit core 2.2.9, please let me know. Any other > feedback is also more than welcome. >=20 > Regards Ard >=20 > [1] https://svn.apache.org/repos/asf/jackrabbit/commons/ocm/trunk/ > [2] http://rave.apache.org/ >=20 > --=20 > Amsterdam - Oosteinde 11, 1017 WT Amsterdam > Boston - 1 Broadway, Cambridge, MA 02142 >=20 > US +1 877 414 4776 (toll free) > Europe +31(0)20 522 4466 > www.onehippo.com