From dev-return-18085-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Dec 02 16:48:46 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 71073 invoked from network); 2 Dec 2010 16:48:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 16:48:46 -0000 Received: (qmail 5643 invoked by uid 500); 2 Dec 2010 16:48:46 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 5419 invoked by uid 500); 2 Dec 2010 16:48:43 -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 5391 invoked by uid 99); 2 Dec 2010 16:48:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 16:48:42 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.d.dick@gmail.com designates 209.85.161.174 as permitted sender) Received: from [209.85.161.174] (HELO mail-gx0-f174.google.com) (209.85.161.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 16:48:34 +0000 Received: by gxk1 with SMTP id 1so1327030gxk.33 for ; Thu, 02 Dec 2010 08:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=d5r37uH3O13gTF02gKqsukPgxNVkgtLkGZDkH0XivFo=; b=ROYodKiWdIqqmCtIx2jfFggwgi0Q0CrGqx9lmlHZH/myqJtMepU6xckQpblukAlB9W z3EIOh70/Z9abjBP/NQD8wrgFzfoq2o0sG/qxQglSBi3Eax/9pfBMZNGu84r0K+fTT4N f//w3HYYq4zt5UXjl/sPX6T+3Pb3xX/RC09GU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=iaiTZKoJY8H3/n9nkRFt8MyseQncxJ5KpoxETSMxhCnJDL04/STX3EnKHoHm4uFCZv +y1uE7QV/I9QkM98XhYKaF82P776qAlq16EUaOG63XPS9oTZYoWtqNKMuUVEo4H53i0f nXWl29mDCp2peoAQphJCO8C1tmP9O8miAVWv0= Received: by 10.90.149.17 with SMTP id w17mr1601546agd.74.1291308492953; Thu, 02 Dec 2010 08:48:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.91.128.8 with HTTP; Thu, 2 Dec 2010 08:47:52 -0800 (PST) In-Reply-To: <1291282438195-5795311.post@n2.nabble.com> References: <1291282438195-5795311.post@n2.nabble.com> From: Michael Dick Date: Thu, 2 Dec 2010 10:47:52 -0600 Message-ID: Subject: Re: Build time enhancer custom PersistenceProvider To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=0016364ed6c20498d80496703064 X-Virus-Checked: Checked by ClamAV on apache.org --0016364ed6c20498d80496703064 Content-Type: text/plain; charset=ISO-8859-1 I've never tried this particular scenario, but you can set a classpath when you define the OpenJPA PCEnhancer task and one when you run the task. I'd guess that you need your provider when the task runs, not when you define it though. Something vaguely like this should work :