Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 19681 invoked from network); 5 Jun 2009 16:58:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jun 2009 16:58:21 -0000 Received: (qmail 24665 invoked by uid 500); 5 Jun 2009 16:58:32 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 24619 invoked by uid 500); 5 Jun 2009 16:58:32 -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 24609 invoked by uid 99); 5 Jun 2009 16:58:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 16:58:32 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.13.13.40] (HELO smtp101.prem.mail.ac4.yahoo.com) (76.13.13.40) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Jun 2009 16:58:24 +0000 Received: (qmail 65220 invoked from network); 5 Jun 2009 16:58:03 -0000 Received: from cpe-174-099-058-061.nc.res.rr.com (dwoods@174.99.58.61 with plain) by smtp101.prem.mail.ac4.yahoo.com with SMTP; 05 Jun 2009 09:58:03 -0700 PDT X-Yahoo-SMTP: sCI.ryiswBB7FW.DxjU523c87MI- X-YMail-OSG: pcfp8jMVM1kZjkTjEIm_zlZsNxjOLLA8ejpsKK6DhfIopTBCZANd5LqaQClpVrorJTIh4X4IHuR6nthYp12YiRHxIzUDFE3lD1e80S3kEzyfBVx.12Ja_syR_epuSofJwSFw5rtulM.5jUCfYA8pkTB_XjToRvOEZHYfZuJDqDvhg9xvSsphN0PCiusw4v6eUEUGbOYByVhfYJSKFOqvmLmElCEZjjSyJJuFanBTAT0Aa.KqLi6Vh_kxeWQ0eFaO_dOnljUekVi7oZf7_LUbpqfV31kafsbPBj37qtX15PDg.nME64sKVdOg X-Yahoo-Newman-Property: ymail-3 Message-ID: <4A294E9A.1010405@apache.org> Date: Fri, 05 Jun 2009 12:58:02 -0400 From: Donald Woods User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: dev@openjpa.apache.org Subject: Re: 80-column line width & auto-generated model classes References: <1244133496189-3025746.post@n2.nabble.com> <915B5A2C-186E-4CD8-B569-C248FF35C795@SUN.com> <1244208989974-3030320.post@n2.nabble.com> <72c1350f0906050643g4ff8f1acs59badcd93a86a782@mail.gmail.com> <1244215021459-3030904.post@n2.nabble.com> <72c1350f0906050944y7b3c352auec2eedee68b04e29@mail.gmail.com> In-Reply-To: <72c1350f0906050944y7b3c352auec2eedee68b04e29@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Michael Dick wrote: > On Fri, Jun 5, 2009 at 10:17 AM, Pinaki Poddar wrote: > >> Hi Mike, >>> Are the files generated during the build process or are they committed to >>> SVN? >> They are committed to SVN. Other Junit Test code needs them at >> development/compile time. >> > > Why can't we run the tool to generate the code during the build? Ideally > after running checkstyle, but if we can't do that then we can always disable > the check. > Agree. Maybe by using the process-resource goal and antrun plugin? But, I could also see where we would want a handful of these checked in, as a test to compare what the mapping tool is creating versus what we expect. > >>> I think they should comply before we commit them. >> They are generated by an automatic source code writer. The writer/code >> generator does not have a notion of line length limit during output. To >> enforce it via that code generator is neither trivial for the way it emits >> different code elements nor I have bandwidth to invest. If compliance to >> line length limit is paramount, then whichever issue (I still could not >> find >> that JIRA) is handling that task may take that up. >> > > I think that compliance to code conventions is paramount for anything we > commit to SVN. What the line length is set to is debatable, but if it's > committed then it should conform. > > > > -mike >