From open-jpa-dev-return-559-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Fri Aug 25 22:34:43 2006 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 36620 invoked from network); 25 Aug 2006 22:34:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 22:34:42 -0000 Received: (qmail 29334 invoked by uid 500); 25 Aug 2006 22:34:42 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 29312 invoked by uid 500); 25 Aug 2006 22:34:42 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 29303 invoked by uid 99); 25 Aug 2006 22:34:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 15:34:42 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mprudhomapache@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 15:34:40 -0700 Received: by py-out-1112.google.com with SMTP id c30so1312260pyc for ; Fri, 25 Aug 2006 15:34:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=ihYgDJhn5536NrjVp10okW4waOydZOW9umUJ/wy7STOrD981C2bihBsG7gYnCSPS3m8T/bWTqj0aOgs/gSjZCqVgT0SCsSKCV3+EW6zYFt5TamJ10dAXmHiR3Nj/PtBXW/T16qdIlvZDIkCN7mJrzT/Qm8fzZbOUxWi/6vRLFWE= Received: by 10.35.41.12 with SMTP id t12mr6006795pyj; Fri, 25 Aug 2006 15:34:19 -0700 (PDT) Received: from ?192.168.1.104? ( [12.130.8.219]) by mx.gmail.com with ESMTP id 40sm2982945nzf.2006.08.25.15.34.18; Fri, 25 Aug 2006 15:34:19 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <5FBB41CD-B019-49BC-8F7A-D4AFE8E377B8@logemann.org> References: <44EF2236.7010705@gmail.com> <487A6300-CF49-4561-B6F7-D42A98DDDA7F@logemann.org> <29242105-5A49-493F-AE63-34358340497F@apache.org> <478C8A41-BA66-40E5-94D0-E0A7537F1BF5@logemann.org> <64823097-CFB7-469C-9A42-881B3C0E6EDE@apache.org> <5FBB41CD-B019-49BC-8F7A-D4AFE8E377B8@logemann.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marc Prud'hommeaux Subject: Re: doxia-sink-api POM problem Date: Fri, 25 Aug 2006 15:33:57 -0700 To: open-jpa-dev@incubator.apache.org X-Mailer: Apple Mail (2.752.2) Sender: Marc Prud'hommeaux X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yay! Glad you got it working. On Aug 25, 2006, at 3:29 PM, Marc Logemann wrote: > Yeah you are correct. I copied the other two german props files > manually in my build/compile path of my IDE but i forgot to do the > same for localizer.properties. Sorry. Now everything works. > > To be sure i also ran it via "mvn install" and there it works too. > > -- > regards > Marc Logemann > [blog] http://www.logemann.org > [busn] http://www.logentis.de > > > Am 26.08.2006 um 00:21 schrieb Marc Prud'hommeaux: > >> Marc- >> >> Hmm ... I actually think that might be a problem with your >> environment. Do you have access to the openjpa-lib/src/test/ >> resources/localizer.properties file? Is openjpa-lib/src/test/ >> resources/ in your Idea CLASSPATH? >> >> Are you able to run Maven from the console? If so, do you also get >> that exception when you do so? >> >> >> >> >> On Aug 25, 2006, at 3:12 PM, Marc Logemann wrote: >> >>> better, but still one failed: >>> >>> junit.framework.ComparisonFailure: >>> Expected :systemvalue1 >>> Actual :test.systemlocal >>> at org.apache.openjpa.lib.util.TestLocalizer.assertEquals >>> (TestLocalizer.java:120) >>> at org.apache.openjpa.lib.util.TestLocalizer.testTopLevel >>> (TestLocalizer.java:76) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke >>> (NativeMethodAccessorImpl.java:39) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke >>> (DelegatingMethodAccessorImpl.java:25) >>> at com.intellij.rt.execution.junit2.JUnitStarter.main >>> (JUnitStarter.java:32) >>> >>> >>> >>> -- >>> regards >>> Marc Logemann >>> [blog] http://www.logemann.org >>> [busn] http://www.logentis.de >>> >>> >>> Am 25.08.2006 um 23:35 schrieb Marc Prud'hommeaux: >>> >>>> >>>> Interesting ... I would have assumed the two would be >>>> equivalent. Anyway, I've changed it to use equals() ... can you >>>> update and re-run the tests and see if it still fails? >>>> >>>> >>>> >>>> On Aug 25, 2006, at 2:16 PM, Marc Logemann wrote: >>>> >>>>> Hi, >>>>> >>>>> Unfortunately Locale.getDefault() == Locale.GERMANY is false. >>>>> Didnt you mean .equals() ? >>>>> >>>>> -- >>>>> regards >>>>> Marc Logemann >>>>> [blog] http://www.logemann.org >>>>> [busn] http://www.logentis.de >>>>> >>>>> >>>>> Am 25.08.2006 um 22:59 schrieb Marc Prud'hommeaux: >>>>> >>>>>> >>>>>>> Most likely i am the first non EN locale user :) Here is the >>>>>>> stack >>>>>> >>>>>> That's exactly the problem ... the test would actually pass >>>>>> for any locale *except* German. I've just committed a fix ... >>>>>> the test should pass for you after your next update. >>>>>> >>>>> >>>> >>> >> >