Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 86905 invoked from network); 21 Jul 2005 16:56:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2005 16:56:26 -0000 Received: (qmail 94891 invoked by uid 500); 21 Jul 2005 16:56:25 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 94852 invoked by uid 500); 21 Jul 2005 16:56:25 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 94836 invoked by uid 99); 21 Jul 2005 16:56:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2005 09:56:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of brunoaranda@gmail.com designates 64.233.182.205 as permitted sender) Received: from [64.233.182.205] (HELO nproxy.gmail.com) (64.233.182.205) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2005 09:56:20 -0700 Received: by nproxy.gmail.com with SMTP id l37so1637nfc for ; Thu, 21 Jul 2005 09:56:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VS4ETz+hjtd2f0675FsOPZr+/QkbrIEg1WUSpF4f9C5ZEwsxKpXWB04Xi+G0NOlADTLJE7DETZJsha/g/EY1GlNwqf8vtS3JhYgEtTQrTZzrMXNtvYtkQnx2hDwiY5b8o8Xzj2SXAnlcBo1OA7nZRiZBvHxp3Qivyk2pcrR3aE0= Received: by 10.48.3.10 with SMTP id 10mr70089nfc; Thu, 21 Jul 2005 09:56:18 -0700 (PDT) Received: by 10.48.239.3 with HTTP; Thu, 21 Jul 2005 09:56:18 -0700 (PDT) Message-ID: <1a681ff20507210956394de166@mail.gmail.com> Date: Thu, 21 Jul 2005 18:56:18 +0200 From: Bruno Aranda Reply-To: Bruno Aranda To: MyFaces Development Subject: Re: source code formatting In-Reply-To: <42DFD151.8030204@psi.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42DFC69B.2080603@psi.de> <42DFD151.8030204@psi.de> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've updated the wiki with the section MyFaces Developer Notes, which I have obained from the sources before the reorg (developer-notes.txt). There are a few lines about the code style... By the way, it would be nice to have a format file that comply with this conventions for eclipse... ;) Bruno 2005/7/21, Mathias Broekelmann : > Not every one is using eclipse so in addition to the eclipse export I > would like to write down the rules I use: >=20 > Rules for source code formatting are based on Java Code Conventions > (http://java.sun.com/docs/codeconv) except: >=20 > - opening braces are on the next line except for array initializers >=20 > - no empty line before a class field >=20 > - new line before else, catch and finally >=20 > that=B4s all >=20 > Mathias >=20 > Bill Dudney schrieb: > > I agree that a 'standard' code formatting thing would be great. In > > Eclipse you can export your code formatting settings to a file. > > > > If you have time it would be great to get that file posted on the WIKI= , > > I'll grab it as soon as its there so I stop reformatting all the code > > in an unacceptable manner :-) > > > > Thanks Mathias! > > > > -bd- > > > > On Jul 21, 2005, at 10:00 AM, Mathias Broekelmann wrote: > > > >> I=B4ve some trouble with code formatting in the myfaces code. > >> > >> I like to write code in bad format and press CTRL+F in eclipse which > >> pretty prints the code. But that normally formats the entire file. > >> > >> My last commit shows the results. Every line in the file seems to > >> have changed but only format changes. > >> > >> Do we have somthing like a style guide to follow? > >> > >> If not I would like to make a proposal (it=B4s seems to be a proposal > >> day;)) for that. > >> > >> Cheers > >> Mathias > >> > >> > >> > > >=20 >