Re: [JBoss-dev] JBoss Code Style Guide

2002-02-13 Thread Marco Hunsicker
On 12 Feb 2002 15:24:31 -0800, Jason Dillon wrote: >Has anyone played with a decent cross platform tool that can easily >translate from style to style? It seems that we will always have this >problem, but if we could gave something translate a users style back >into jboss style then we can end t

RE: [JBoss-dev] JBoss Code Style Guide

2002-02-13 Thread Sacha Labourey
> Off topic, but were you able to get NetBeans to build JBoss using its > ant fluff? I've never tried in fact... I always compile ant from the command line. One thing to add about netbeans: A problem with netbeans regarding JBoss structure is that JBoss has its source folders disseminated in man

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Jason Dillon
Original Message - > From: "Jason Dillon" <[EMAIL PROTECTED]> > To: "Luke Taylor" <[EMAIL PROTECTED]> > Cc: "JBoss-dev" <[EMAIL PROTECTED]> > Sent: Tuesday, February 12, 2002 3:24 PM > Subject: Re: [JBoss-dev] JBoss Code Style

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Jason Dillon
on" <[EMAIL PROTECTED]> > To: "Sacha Labourey" <[EMAIL PROTECTED]> > Cc: "Dain Sundstrom" <[EMAIL PROTECTED]>; "JBoss-dev" > <[EMAIL PROTECTED]> > Sent: Tuesday, February 12, 2002 3:25 PM > Subject: RE: [JBoss-dev] JBoss

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Scott M Stark
AIL PROTECTED]> To: "Luke Taylor" <[EMAIL PROTECTED]> Cc: "JBoss-dev" <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 3:24 PM Subject: Re: [JBoss-dev] JBoss Code Style Guide > Has anyone played with a decent cross platform tool that can easily > transl

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Scott M Stark
OTECTED]> Cc: "Dain Sundstrom" <[EMAIL PROTECTED]>; "JBoss-dev" <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 3:25 PM Subject: RE: [JBoss-dev] JBoss Code Style Guide > Off topic, but were you abl

RE: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Jason Dillon
Off topic, but were you able to get NetBeans to build JBoss using its ant fluff? --jason On Tue, 2002-02-12 at 08:59, Sacha Labourey wrote: > Hello Dain, > > If you use netbeans, just change the tab value to 3 chars and you are done. > You then just need to hit "CTRL+SHIFT+F" and your code is

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Jason Dillon
Has anyone played with a decent cross platform tool that can easily translate from style to style? It seems that we will always have this problem, but if we could gave something translate a users style back into jboss style then we can end this thread once and for all. Should also help improve d

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Jason Dillon
It does *mostly*. If we can turn off the bits where it bastardizes javadocs then I would be agreeable to using it again. [X]Emacs still does not like how it indents too much though =( --jason On Tue, 2002-02-12 at 09:22, David Jencks wrote: > On 2002.02.12 11:48:33 -0500 Dain Sundstrom wrote:

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Scott M Stark
The biggest issues are consistent use of 3 spaces instead of tabs and lining up braces in the same column. The use of a space before an open paren in each of the contexts below is optional. > In class or interface declarations should I put a line terminator before > extends and implements as in

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread David Jencks
On 2002.02.12 11:48:33 -0500 Dain Sundstrom wrote: > Hi all, > > I wrote the JBossCMP code before I was aware the JBoss Code Style Guide, > so I now I want to run a beautifier to correct my code. Does any one > use a free beautifier that they have setup for JBoss? > > I found one called jacob

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Luke Taylor
Together's code formatter can do it OK. It can do all the indentation, brackets, javadoc formatting and removing unwanted and unused imports OK. On the if, for, catch ( blah ) parenthesis stuff it's not so flexible though. Maybe this isn't too important anyway (there should probably be some f

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Dain Sundstrom
I have the 3 space tabs, what I don't have is the curly bracket on a new line. Will it correct the curlies. Sacha Labourey wrote: > Hello Dain, > > If you use netbeans, just change the tab value to 3 chars and you are done. > You then just need to hit "CTRL+SHIFT+F" and your code is automagic

RE: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Sacha Labourey
Hello Dain, If you use netbeans, just change the tab value to 3 chars and you are done. You then just need to hit "CTRL+SHIFT+F" and your code is automagically reformated. Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]