Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB88F9F83 for ; Sun, 26 Feb 2012 19:40:33 +0000 (UTC) Received: (qmail 61274 invoked by uid 500); 26 Feb 2012 19:40:33 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 61235 invoked by uid 500); 26 Feb 2012 19:40:33 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 61226 invoked by uid 99); 26 Feb 2012 19:40:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 19:40:33 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kwsutter@gmail.com designates 209.85.215.46 as permitted sender) Received: from [209.85.215.46] (HELO mail-lpp01m010-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 19:40:26 +0000 Received: by lahj13 with SMTP id j13so142421lah.33 for ; Sun, 26 Feb 2012 11:40:06 -0800 (PST) Received-SPF: pass (google.com: domain of kwsutter@gmail.com designates 10.152.124.77 as permitted sender) client-ip=10.152.124.77; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kwsutter@gmail.com designates 10.152.124.77 as permitted sender) smtp.mail=kwsutter@gmail.com; dkim=pass header.i=kwsutter@gmail.com Received: from mr.google.com ([10.152.124.77]) by 10.152.124.77 with SMTP id mg13mr8896061lab.4.1330285206385 (num_hops = 1); Sun, 26 Feb 2012 11:40:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=chERzum3LjhsfO1/l9vdH4kHgueUveJIm9C4hprItEc=; b=klB0XXyrNqoQyi6+CfescGGUY87VofrTRMLfsKncMOaOQH2e+QoQ5mUb2vQxVvd5pZ ce4jvBAK+bbSRB9FOw5PkqU8BtkRYBouc23km0O1jcn1cDysiVFVsZ5f+BZDHkYZpsva DEb7CMaBnvgxGt0zToHbjMF3LnigxEknLw+h4= Received: by 10.152.124.77 with SMTP id mg13mr7527154lab.4.1330285206288; Sun, 26 Feb 2012 11:40:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.17.130 with HTTP; Sun, 26 Feb 2012 11:39:46 -0800 (PST) In-Reply-To: References: From: Kevin Sutter Date: Sun, 26 Feb 2012 13:39:46 -0600 Message-ID: Subject: Re: New asm-dependency in OpenJPA 2.2.0? To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=f46d042f93fa2bb91e04b9e329af X-Virus-Checked: Checked by ClamAV on apache.org --f46d042f93fa2bb91e04b9e329af Content-Type: text/plain; charset=ISO-8859-1 Thanks for the clarification, Dominik. Your scenario is exactly what I was thinking you found. Just needed to be sure. Good catch on the home page as well... I just changed this to 2.2.0 as the latest release. Although with your finding of the missing ASM lib, a 2.2.1 release might be coming very quickly... :-) Thanks again, Kevin On Sun, Feb 26, 2012 at 1:16 PM, Dominik Stadler wrote: > Hi, > > yes, I am using the binary zip from > > http://www.apache.org/dyn/closer.cgi/openjpa/2.2.0/apache-openjpa-2.2.0-binary.zipand > not maven. > > And in my case the Ant-based build broke where I do build-time enhancement > of the JPA classes via the Ant-Task org.apache.openjpa.ant.PCEnhancerTask, > which now requires asm to be found on the classpath. > > It's a simple fix to add this in the build.xml and with this all tests run > fine. > > BTW, the main page of OpenJPA currently mentions a version 2.2.1 ("2.2.1 is > the latest"), I don't think this version is available, right? > > Thanks... Dominik. > > On Sun, Feb 26, 2012 at 7:40 PM, Kevin Sutter wrote: > > > Hi Dominik, > > Yes, we did introduce a dependency on ASM for the 2.2.0 release via this > > JIRA: > > https://issues.apache.org/jira/browse/OPENJPA-2085 > > > > It looks like we remembered to update the combined jar > > (openjpa-all-2.2.0.jar) with the asm class files, but we forgot to > include > > it in the lib directory of the apache-openjpa-2.2.0-binary.zip contents. > > Can you verify that is the location you are referring to? When you > > mentioned your compile broke... Which compile? The compile of openjpa? > > Or, the compile of your entity classes? A maven build of openjpa should > > pull down the dependency automatically. Thanks for clarifying. > > > > You are right, we probably should have highlighted this new dependency. > > > > We might have re-visit the 2.2.0 release in order to include this > > dependency in the lib directory. Thanks for bringing this to our > > attention. > > > > Kevin > > > > On Sat, Feb 25, 2012 at 2:04 AM, Dominik Stadler > >wrote: > > > > > Hi, > > > > > > is there a new dependency on asm introduced with OpenJPA 2.2.0? > > > > > > My compile fails with "java.lang.ClassNotFoundException: > > > org.objectweb.asm.ClassVisitor" after upgrading. > > > > > > Also > > > > > > > > > http://mail-archives.apache.org/mod_mbox/openjpa-commits/201112.mbox/%3C20111202064303.95653238899C@eris.apache.org%3Eseems > > > to list a commit which did add such a dependency. > > > > > > It would be nice to mention this in the release notes in order to > prevent > > > hickups for people upgrading. > > > > > > Also shouldn't the asm-.jar files be included in the downloadable > > binaries? > > > > > > Thanks... Dominik. > > > > > > --f46d042f93fa2bb91e04b9e329af--