Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 26699 invoked from network); 9 Jun 2005 09:29:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2005 09:29:15 -0000 Received: (qmail 87605 invoked by uid 500); 9 Jun 2005 09:29:15 -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 87589 invoked by uid 99); 9 Jun 2005 09:29:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from server2.jahia.com (HELO server2.jahia.com) (80.74.132.69) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 02:29:12 -0700 Received: (qmail 31168 invoked from network); 9 Jun 2005 09:28:51 -0000 Received: from unknown (HELO ?127.0.0.1?) (85.232.161.87) by server2.jahia.com with AES256-SHA encrypted SMTP; 9 Jun 2005 09:28:51 -0000 Message-ID: <42A80BDA.8010505@jahia.com> Date: Thu, 09 Jun 2005 11:28:58 +0200 From: Serge Huber User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: ORM-based persistence contrib build problems References: <634FDB4B15BE1048973D26E8D03F317802900F07@EX-101.mail.navisite.com> <42A51AEE.9090303@gmail.com> <42A6FCB8.6040708@jahia.com> <42A7181C.3080902@jahia.com> <42A7803A.6020105@gmail.com> In-Reply-To: <42A7803A.6020105@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Edgar, So that's what's wrong with it :) I didn't have time yesterday to look at the problems. I submitted a quick patch in order for everything to compile, and noticed the test failures but didn't have the time to investigate further. Would you be able to sum up the required changes in order to support this ? Does this mean that each node/property needs an extra workspace name column ? Regards, Serge Huber. Edgar Poce wrote: > Hi serge > > I gave a try to the orm PM and found that it stores the data > disregarding the workspace name, which means that the data stored in > one workspace is accessible from any other. > IMHO we should wait to commit the changes until this problem is > solved and both PMs, hibernate and OJB, pass all the tests. WDYT? > > BR, > edgar > > if you want to reproduce the error run the following code, it will > fail the second time. > > String newNodeName = "ormtest" ; > // Default workspace > Session defaultSession = helper.getReadWriteSession("default") ; > Node defaultRoot = defaultSession.getRootNode() ; > assertFalse(defaultRoot.hasNode(newNodeName)); > defaultSession.logout() ; > > // Add a new node in workspace test > Session testSession = helper.getReadWriteSession("test") ; > Node testRoot = testSession.getRootNode() ; > testRoot.addNode(newNodeName) ; > testSession.save() ; > testSession.logout() ; > > > Serge Huber wrote: > >> >> Ok I've done a quick patch to allow for compilation of the >> contribution. Thank you for committing it as soon as possible. You >> can find it as an attachement to issue : >> http://issues.apache.org/jira/browse/JCR-129$ >> >> I also saw that there are some test failures, probably due to new >> tests. I'll try to work on that asap. >> >> Regards, >> Serge... >> >> Serge Huber wrote: >> >>> >>> I was afraid this would happen. I haven't had the time to work on >>> Jackrabbit recently. I'll see if I can find some free time to get it >>> up to speed. There was also a patch I supplied a while ago, I don't >>> know if it had been applied. >>> >>> Regards, >>> Serge Huber. >>> >>> Edgar Poce wrote: >>> >>>> Hi roy >>>> ORM-based persistence managers are out of synch with the latest >>>> changes of the api. I've just created a jira issue. Thanks for >>>> reporting it. >>>> >>>> BR, >>>> edgar >>>> >>>> Roy Russo wrote: >>>> >>>>> Hi all, >>>>> >>>>> I'm experiencing a problem trying to get the orm-persistence >>>>> sources in >>>>> /contrib to build on 'maven clean'. Its failing on trying to retrieve >>>>> jackrabbit jar from day software: >>>>> >>>>> Attempting to download jackrabbit-0.16.4-dev.jar. >>>>> Error retrieving artifact from >>>>> [http://www.day.com/maven/jackrabbit/jars/jackrabbit-0.16.4-dev.jar]: >>>>> java.io.IOException: Forbidden. >>>>> WARNING: Failed to download jackrabbit-0.16.4-dev.jar. >>>>> >>>>> Obviously, I have this locally after building the parent project, >>>>> but do >>>>> not know how to point maven to use that instead. >>>>> >>>>> Regards, >>>>> Roy Russo >>>>> Jboss Portal Developer >>>>> >>>>> >>>> >>> >>> >> >> >