Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 84988 invoked from network); 9 Feb 2005 09:45:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Feb 2005 09:45:41 -0000 Received: (qmail 48427 invoked by uid 500); 9 Feb 2005 09:45:40 -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 48406 invoked by uid 99); 9 Feb 2005 09:45:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of stefan.guggisberg@gmail.com designates 64.233.170.207 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.207) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Feb 2005 01:45:39 -0800 Received: by rproxy.gmail.com with SMTP id r35so1176372rna for ; Wed, 09 Feb 2005 01:45:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=jU3+w/lKEicy5dOXD8hteo+G0203dNuuPUD/w2XhCe9Lt8zqkv0YG3J8QQYyBEEVWEhY6FtFynbukE6cFKvLN1Q3xoEfkyjdL/28fnAemuJP2XNo78l/ZpVkO7eUB86eWFJynMZlKbfVbbArXJccx+FxMcX9I7CicDVmwT8YY9Y= Received: by 10.38.77.7 with SMTP id z7mr294971rna; Wed, 09 Feb 2005 01:45:37 -0800 (PST) Received: by 10.38.152.61 with HTTP; Wed, 9 Feb 2005 01:45:37 -0800 (PST) Message-ID: <90a8d1c0050209014574dc7a8f@mail.gmail.com> Date: Wed, 9 Feb 2005 10:45:37 +0100 From: Stefan Guggisberg Reply-To: Stefan Guggisberg To: jackrabbit-dev@incubator.apache.org, Oliver Kiessler Subject: Re: Build problems after updating to jackrabbit 0.16.2 In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi oliver, On Tue, 8 Feb 2005 21:50:15 +0100, Oliver Kiessler wrote: > hi list, > I updated to jackrabbit 0.16.2 and jsr170 0.16.2 today and cannot get > my sources to build which worked fine with 0.15. the jcr api has changed (hence the change in the version number), therefore existing code using jackrabbit might not compile and needs to be adapted to the api changes. > > This is what I get: > > Testcase: testAddUser(com.inceedo.alleverything.repository.jcr.RepositoryAdminManagerJcrImplTest): Caused > an ERROR > Could not initialize content repository: > /domains/default/users/oliver/globalUserReference: target node of > REFERENCE property does not exist > com.inceedo.alleverything.repository.JcrRepositoryActionException: > Could not initialize content repository: > /domains/default/users/oliver/globalUserReference: target node of > REFERENCE property does not exist > at com.inceedo.alleverything.repository.jcr.RepositoryAdminManagerJcrImpl.addUser(RepositoryAdminManagerJcrImpl.java:130) > > Testcase: testCheckInRecursively(com.inceedo.alleverything.repository.jcr.JcrNodeHelperTest): Caused > an ERROR > /domains/default/objects/test16/jcr:content/creator: target node of > REFERENCE property does not exist > javax.jcr.ReferentialIntegrityException: > /domains/default/objects/test16/jcr:content/creator: target node of > REFERENCE property does not exist > at org.apache.jackrabbit.core.ItemImpl.checkReferences(ItemImpl.java:712) > at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1223) > at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:664) > > and so on... > > All testcases that contain property references fail. Is there > something I am missing concerning the 0.16.2 spec? i did a quick test and couldn't detect a problem with references. please provide a testcase or a simple code fragment that reproduces the problem. cheers stefan > > regards, > oliver >