Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 67427 invoked from network); 2 Apr 2009 12:19:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 12:19:51 -0000 Received: (qmail 71602 invoked by uid 500); 2 Apr 2009 12:19:51 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 71521 invoked by uid 500); 2 Apr 2009 12:19:51 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 71511 invoked by uid 99); 2 Apr 2009 12:19:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 12:19:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.d.dick@gmail.com designates 209.85.220.222 as permitted sender) Received: from [209.85.220.222] (HELO mail-fx0-f222.google.com) (209.85.220.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 12:19:42 +0000 Received: by fxm22 with SMTP id 22so471961fxm.9 for ; Thu, 02 Apr 2009 05:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=VY5hWAIvV6PCIQK7yIsLeMsKg3VKFDuhdfcKc6G9XcI=; b=Y48764WyxRKwxGj6rC1GGrxMoy5hXz5Bju8pSgPlx8C5TddMeidmiTWlViAB/WHbxS HpXhjzFMYLRGOeq5t0onOasnjINjcF1TVv8r/O61/TO+vXktW8KaAB/0+ENi3UXVtAKF cBXz295JmbfpvDQF283OUttkvrUisO7gQBpo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EEM3tbAQxFiiDrO16kucvsCT5AX47hyaQPOvqZc5Pk8L3CwarYjWoO3e1Jc0FKTUNb KNRk2tKcbRlGNUVIjs+Dw6O5Vpq3LoNlP4wJbkqNet8bkW5SFJgC8eGdWZZK44NsgrvH UzlG3o12tmWCUnPcUsZ7Zd3QoLt6UDq9euEkA= MIME-Version: 1.0 Received: by 10.223.108.140 with SMTP id f12mr7192204fap.69.1238674759009; Thu, 02 Apr 2009 05:19:19 -0700 (PDT) In-Reply-To: <349722.14702.qm@web27807.mail.ukl.yahoo.com> References: <349722.14702.qm@web27807.mail.ukl.yahoo.com> Date: Thu, 2 Apr 2009 07:19:18 -0500 Message-ID: <72c1350f0904020519s1e747582g51cc97ef7fcd741@mail.gmail.com> Subject: Re: using the tmpClassLoader From: Michael Dick To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=001636c5acf800c7300466917112 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5acf800c7300466917112 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Mark, I'm not sure which change in 1.2.1 would have affected the PCEnhancer in this way. I've seen similar problems with the tmpClassLoader specifically with the IBM JRE. Setting tmpClassloader = false didn't cause any problems for me. -mike On Thu, Apr 2, 2009 at 2:59 AM, Mark Struberg wrote: > > If you like to try it out you can download it from my git repo > > $> git clone http://ns1.backwork.net/git/openjpa-maven-plugin.git > > If there are no objections, then I'll commit the changes to the apache repo > tomorrow. > > > LieGrue, > strub > > --- Mark Struberg schrieb am Do, 2.4.2009: > > > Von: Mark Struberg > > Betreff: using the tmpClassLoader > > An: dev@openjpa.apache.org > > Datum: Donnerstag, 2. April 2009, 9:40 > > > > Hi! > > > > I'm currently extending the openjpa-maven-plugin to be > > useful for openjpa-1.2.1 > > > > So while updating I had a problem with one of my projects > > which uses the following structure: > > > > --+- pom.xml > > |-api/pom.xml > > | \- public interface > > MyEntityInterface { > > | public > > static enum MessageChannel { MMS, SMS }; > > \-impl/pom.xml > > \- @Entity public class MyEntityImpl > > { > > private > > MessageChannel channel; > > > > In this case the PCEnhancer fails since openjpa-1.2.1 (no > > problems with 1.2.0 and 1.1.0 though) since the enum > > 'MessageChannel' cannot be found on the classpath. > > > > I now provide a 'tmpClassLoader' property in the > > openjpa-maven-plugin which defaults to 'false' and like to > > ask if this default is ok for most usecases, or if there are > > any objections? > > > > txs and LieGrue, > > strub > > > > > > > > > > > > > > > > --001636c5acf800c7300466917112--