Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 36237 invoked from network); 11 Jul 2006 16:36:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jul 2006 16:36:00 -0000 Received: (qmail 60913 invoked by uid 500); 11 Jul 2006 16:35:59 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 60892 invoked by uid 500); 11 Jul 2006 16:35:59 -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 60883 invoked by uid 99); 11 Jul 2006 16:35:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 09:35:59 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of michael.d.dick@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 09:35:58 -0700 Received: by nf-out-0910.google.com with SMTP id n15so313323nfc for ; Tue, 11 Jul 2006 09:35:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WOGZjAz1rXllprP0rO9vj48YQt8TKSlRUrBuFvFTbRkzGDSTW/OnPAY7mpe5p7TSSf+e3piBCFIHfB7Ue3Sl2+Ov/COadpx80JulWnB8na7uQlXKqRJC1XrOGMZ+kfbMHbk5Md8VEYE5Gl+eAJRosUTY/2Yjct2nn0urNmweD1k= Received: by 10.48.4.17 with SMTP id 17mr676185nfd; Tue, 11 Jul 2006 09:35:37 -0700 (PDT) Received: by 10.48.223.2 with HTTP; Tue, 11 Jul 2006 09:35:36 -0700 (PDT) Message-ID: <72c1350f0607110935m33b04ec9w5d3407e0aad00830@mail.gmail.com> Date: Tue, 11 Jul 2006 11:35:36 -0500 From: "Michael Dick" To: open-jpa-dev@incubator.apache.org Subject: Re: Two questions on the recent code drop (for now...) In-Reply-To: <7D856CDFE035FF45A0420ACBD71BDD6301794304@repbex02.amer.bea.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_39845_7959321.1152635736887" References: <89c0c52c0607110606q3c7e394et5e0cdca0b519a631@mail.gmail.com> <7D856CDFE035FF45A0420ACBD71BDD6301794304@repbex02.amer.bea.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_39845_7959321.1152635736887 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/11/06, Patrick Linskey wrote: > > > 1) Have we decided how to resolve the Java EE 5 dependency? > > I didn't see where we had set up a maven dependency for these > > interfaces. For now, I can just use my own copy, but we > > should decide the formal solution. > > I don't follow -- what's the problem? To my knowledge, we don't have any > Java EE 5 dependencies, except for the openjpa-persistence module's > dependency on the JPA interfaces. We depend on javax.transaction, > javax.resource, and javax.jms. > > > 2) Even with the Java EE 5 dependency resolved, I am still > > experiencing about 100+ errors in the openjpa-kernel project. > > Many errors with "JJxxxx cannot be resolved". Does this > > build for everybody else? > > Hmm. That's odd. Works for me. I remember that Marc told me to be sure > to have Maven 2.0.4 installed at one point; what do you get from 'mvn > -v'? The build worked fine from the command line for me, I ran into errors building in Eclipse though. In order to get it to work in Eclipse you can get a JavaCC plugin (I found one at http://eclipse-javacc.sourceforge.net/, but there might be others). Using the plugin gets rid of most of the errors, leaving 2 build errors due to duplicate classes ( ). I haven't used the plugin before, so I'd guess I can fix the errors by tweaking the configuration. I'm not too worried about it since the Maven build works fine. Alternatively you could just run a maven build and add the generated classes to your Eclipse project (ugh). It's not ideal but at least it gets rid of the errors in Eclipse. Hope this helps, -Patrick > _______________________________________________________________________ > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual > or entity named in this message. If you are not the intended recipient, > and have received this message in error, please immediately return this > by email and then delete it. > -Michael Dick It is by caffeine alone I set my mind in motion, It is by the beans of Java that thoughts acquire speed, The hands acquire shakes, the shakes become a warning, It is by caffeine alone I set my mind in motion. ------=_Part_39845_7959321.1152635736887--