Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 20458 invoked from network); 22 Jan 2010 18:15:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jan 2010 18:15:15 -0000 Received: (qmail 49154 invoked by uid 500); 22 Jan 2010 18:15:15 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 49051 invoked by uid 500); 22 Jan 2010 18:15:15 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 49043 invoked by uid 99); 22 Jan 2010 18:15:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 18:15:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rickmcg@gmail.com designates 74.125.92.24 as permitted sender) Received: from [74.125.92.24] (HELO qw-out-2122.google.com) (74.125.92.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 18:15:05 +0000 Received: by qw-out-2122.google.com with SMTP id 3so315658qwe.25 for ; Fri, 22 Jan 2010 10:14:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=1bq8Luue0FQhImiH+DDMr4eSs08YPLwbz5lg6Ozhwos=; b=oOON8kBpEBEwHb0OE8/Ry6yWkTxZF36T7HXBFJ6kJNXlcbxJGlvTOX5nLLAJumG7X6 es+FRmxcOjLGifefRhCIZMVUJB5BrFODyYsz4vJxpWfwff2HTQEPiJ520gpBQoFfoerO YtyJy6wgPkD59CGWF0hpK8Tm4uNTw3TBUeS6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=XmAvxH8BdOn8BfkGDAPtj2BbvlulTpHkdrOXzru8vRs9k3PdYTUiGggcOzk2e1TZlI E1ccNX07lyYWuYfdw4xzOfJlVPvmOsytxJbWdutgRtpZA1H4cjqCrt9JNS/Xzb1QmMY1 OijkJN6AUW1QHqUUTaHyGdmEe2MbmGWmnvVp0= Received: by 10.224.115.81 with SMTP id h17mr2171887qaq.231.1264184084463; Fri, 22 Jan 2010 10:14:44 -0800 (PST) Received: from ?192.168.1.100? (24-151-82-15.dhcp.nwtn.ct.charter.com [24.151.82.15]) by mx.google.com with ESMTPS id 22sm1838426qyk.2.2010.01.22.10.14.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Jan 2010 10:14:43 -0800 (PST) Message-ID: <4B59EB14.9060205@gmail.com> Date: Fri, 22 Jan 2010 13:14:44 -0500 From: Rick McGuire Reply-To: rickmcg@gmail.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: OpenJPA2 build breakage in trunk Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org There's a nasty build breakage in trunk caused by switching to the latest jpa 2.0 spec jar from the one used for the OpenJPA milestone release. This change requires some code changes to the Geronimo code because some methods were removed and some classes were moved to different package locations. I've got the code compiling cleanly with the new spec jar, but that just moved things on to another problem. The next problem to arise came from the mismatch between the OpenJPA 2.0.0-M3 release and this spec jar. The M3 OpenJPA code still had references to classes in the old package locations, so we ended up with ClassNotFoundExceptions while trying to build. Ok, this should be a simple fix...it just requires changing the OpenJPA version to the 2.0.0-SNAPSHOT level. And here is where things start to get nasty. The current trunk code for OpenJPA no longer builds the OpenJPA jars as bundles. This issue was already noticed by the Aries folks and a Jira was opened on it: https://issues.apache.org/jira/browse/OPENJPA-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Donald fixed this today, but it does not appear that he's pushed new snapshots to the repo yet, so I haven't been able to test against the new jars. I did make an attempt at creating a geronimo bundle from these jars, but ran into some resource loading issues between the openjpa jar and the openjpa-persistence-jdbc jars that I was never able to work out. I tried building openjpa locally, but ran into a couple of dependency issues I haven't had the chance to chase down. So, the build is sort of broken in its current state. The Geronimo code won't compile against the current spec jar without changes and the openjpa2 plugin can't build with the current openjpa snapshot because of the missing bundle information. Should I 1) back off the spec change 2) check in the changes to fix the compile errors and use the new openjpa snapshot and wait for the new snapshot of openjpa to show up Rick