Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 67084 invoked from network); 24 Aug 2007 15:54:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2007 15:54:00 -0000 Received: (qmail 42997 invoked by uid 500); 24 Aug 2007 15:53:56 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 42966 invoked by uid 500); 24 Aug 2007 15:53:56 -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 42952 invoked by uid 99); 24 Aug 2007 15:53:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 08:53:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of plinskey@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 15:53:51 +0000 Received: by py-out-1112.google.com with SMTP id f31so1834041pyh for ; Fri, 24 Aug 2007 08:53:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ui4TBLpv8dbnt5rzRbHOsD35H+IPpHatg8EVHG8r0+qVbLR0RQhtb2d+fzUTyNGzxAONM7wcmmvQAVsTPhanyEoX0+O2/RUoHJio2kc6us5sUhES8N2AGICnpnwRT7Ke6Wp1JcDgPBybj66BmLSp/b3YtBSjk3MiQMLKL43dfFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E/T5FowvsJlC1X/soOoKOGEz02EtqP1gVvfDWYRzcT3CJHgFVYM7vp3FHW7DQj+hBgmyON0RDR/TCkN82q9XJXrmobtIx0untVUzykZ4qEIEU86IOYjv/WcEyttuH1vSKuikhJe78RtOO4fWiKFzDK8PPtesCLf/puOGXWXYAZw= Received: by 10.35.78.9 with SMTP id f9mr3614965pyl.1187970807650; Fri, 24 Aug 2007 08:53:27 -0700 (PDT) Received: by 10.35.100.9 with HTTP; Fri, 24 Aug 2007 08:53:27 -0700 (PDT) Message-ID: <7262f25e0708240853j6d95a26cjd41a8483ed13077a@mail.gmail.com> Date: Fri, 24 Aug 2007 08:53:27 -0700 From: "Patrick Linskey" To: dev@openjpa.apache.org Subject: Re: svn commit: r569253 - in /openjpa/branches/1.0.0/openjpa-kernel/src/main: java/org/apache/openjpa/enhance/PCEnhancer.java resources/org/apache/openjpa/enhance/localizer.properties In-Reply-To: <5BF87720-B88C-40F4-B596-E77DBB3957DF@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070824052744.B97E61A9832@eris.apache.org> <89c0c52c0708240537t50a7d8e9s764845e90b416773@mail.gmail.com> <5BF87720-B88C-40F4-B596-E77DBB3957DF@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org I agree with most of what Marc is saying. However, I strongly feel that we need to change how we're doing our branching strategy. In my opinion, creating these throwaway branches unnecessarily complicates the process of making a maintenance branch for a given release. Can someone explain to me where we are going to do 1.0.1 work in the current process? -Patrick On 8/24/07, Marc Prud'hommeaux wrote: > Kevin- > > Unless Patrick objects to the current (fourth) vote on the 1.0.0 > artifact based on this commit, it won't make it into the 1.0.0 final > release bits. > > Once 1.0.0 is released, I will tag the currently *released* source > code in the 1.0.0 branch as "1.0.0", and then merge the *latest* > source code in the 1.0.0 branch back into the trunk, so any additions > to the 1.0.0 branch will certainly be merged back to the trunk > (although they will only be released in the 1.0.0 assembly if we > happen to need to cut another release). > > I will document this process on the revised release instructions on > the wiki once I get around to assembling them. We are playing a > little fast and loose with last-minute changes in what should > probably be a more solemn process, but since this is the first major > release as a TLP, I think we can make a few exceptions. > > > > On Aug 24, 2007, at 8:37 AM, Kevin Sutter wrote: > > > Patrick and Marc, > > Help me understand our process here. This commit is similar to the > > one I > > did the other evening. It was committed into the 1.0.0 branch > > after the 4th > > re-spin and [VOTE] was posted. So, does this require yet another > > respin? > > If not, then what happens to these changes? The [VOTE] would not > > include > > these changes. So, would these changes automatically become part > > of the > > 1.0.1 snapshot release? > > > > Thanks, > > Kevin > > > > On 8/24/07, pcl@apache.org wrote: > >> > >> Author: pcl > >> Date: Thu Aug 23 22:27:43 2007 > >> New Revision: 569253 > >> > >> URL: http://svn.apache.org/viewvc?rev=569253&view=rev > >> Log: > >> Minor logging / exception handling improvements > >> > >> Modified: > >> > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/java/org/apache/ > >> openjpa/enhance/PCEnhancer.java > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/resources/org/ > >> apache/openjpa/enhance/localizer.properties > >> > >> > >> Modified: > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/java/org/apache/ > >> openjpa/enhance/PCEnhancer.java > >> URL: > >> http://svn.apache.org/viewvc/openjpa/branches/1.0.0/openjpa-kernel/ > >> src/main/java/org/apache/openjpa/enhance/PCEnhancer.java? > >> rev=569253&r1=569252&r2=569253&view=diff > >> ===================================================================== > >> ========= > >> > >> --- > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/java/org/apache/ > >> openjpa/enhance/PCEnhancer.java > >> (original) > >> +++ > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/java/org/apache/ > >> openjpa/enhance/PCEnhancer.java > >> Thu Aug 23 22:27:43 2007 > >> @@ -467,7 +467,8 @@ > >> } catch (OpenJPAException ke) { > >> throw ke; > >> } catch (Exception e) { > >> - throw new GeneralException(e); > >> + throw new GeneralException(_loc.get("enhance-error", > >> + _managedType.getType().getName(), e.getMessage > >> ()), e); > >> } > >> } > >> > >> @@ -2736,7 +2737,10 @@ > >> } catch (Throwable t) { > >> // last-chance catch for bug #283 (which can happen > >> // in a variety of ClassLoading environments) > >> - _log.warn(_loc.get("enhance-uid-access", _meta), t); > >> + if (_log.isTraceEnabled()) > >> + _log.warn(_loc.get("enhance-uid-access", > >> _meta), t); > >> + else > >> + _log.warn(_loc.get("enhance-uid-access", > >> _meta)); > >> } > >> > >> // if we couldn't access the serialVersionUID, we > >> will have > >> to > >> @@ -3672,10 +3676,13 @@ > >> * attribute name for the backing field name. > >> */ > >> private String fromBackingFieldName(String name) { > >> - if (_meta.getAccessType() == ClassMetaData.ACCESS_PROPERTY > >> + // meta is null when doing persistence-aware enhancement > >> + if (_meta != null > >> + && _meta.getAccessType() == > >> ClassMetaData.ACCESS_PROPERTY > >> && _fieldsToAttrs.containsKey(name)) > >> - name = (String) _fieldsToAttrs.get(name); > >> - return name; > >> + return (String) _fieldsToAttrs.get(name); > >> + else > >> + return name; > >> } > >> > >> /** > >> > >> Modified: > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/resources/org/ > >> apache/openjpa/enhance/localizer.properties > >> URL: > >> http://svn.apache.org/viewvc/openjpa/branches/1.0.0/openjpa-kernel/ > >> src/main/resources/org/apache/openjpa/enhance/localizer.properties? > >> rev=569253&r1=569252&r2=569253&view=diff > >> ===================================================================== > >> ========= > >> > >> --- > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/resources/org/ > >> apache/openjpa/enhance/localizer.properties > >> (original) > >> +++ > >> openjpa/branches/1.0.0/openjpa-kernel/src/main/resources/org/ > >> apache/openjpa/enhance/localizer.properties > >> Thu Aug 23 22:27:43 2007 > >> @@ -197,4 +197,5 @@ > >> no-accessor: Could not find method called {0} in type {1}. > >> unspecified-unenhanced-types: One or more of the types in {0} have > >> relations \ > >> to other unenhanced types that were not specified. These > >> unspecified > >> types \ > >> - are: {1} > >> \ No newline at end of file > >> + are: {1} > >> +enhance-error: An error occurred while enhancing {0}. Exception > >> message: > >> {1} > >> \ No newline at end of file > >> > >> > >> > > -- Patrick Linskey 202 669 5907