commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelvin Tan <kelvin-li...@relevanz.com>
Subject Re: [jelly] code style
Date Wed, 11 Dec 2002 07:01:01 GMT


On Wed, 11 Dec 2002 01:57:35 -0500 (EST), bob mcwhirter said:
>>Any chance of code style guidelines for jelly? I noticed you
>>reformatted JellyServlet. If you use idea, maybe you can post
>>checkin the xml config file for codestyles...
>
>I think he tends to follow the Sun Coding Conventions, much to the
>irritation of those of us following the more sane Turbine-esque
>conventions, or the perfectly rationalized Werken flavour.
>

+1. But lets not go down this slippery slope. :-)

>Either way, I think checkstyle should alert you to any violations.
>

Not familiar with this. I use Maven to perform the check, I suppose? 
I saw a couple of declarations in project.properties...

# use Sun coding standards

maven.checkstyle.lcurly.type = eol
maven.checkstyle.lcurly.method = eol
maven.checkstyle.lcurly.other = eol
#maven.checkstyle.header.file = src/conf/checkstyle-LICENSE.txt
maven.checkstyle.header.ignore.line = 1,2,3,4,5,6
maven.checkstyle.const.pattern = ^[a-z][a-zA-Z0-9]*$

# disable these non-critical errors to highlight
# more important ones line missing javadoc

maven.checkstyle.max.line.len = 100
maven.checkstyle.ignore.whitespace = true
maven.checkstyle.ignore.public.in.interface = true

>    -bob
>
>
>--
>To unsubscribe, e-mail:   <mailto:commons-dev-
>unsubscribe@jakarta.apache.org> For additional commands, e-mail:
><mailto:commons-dev-
>help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message