|
From: Ryan J. M. <ry...@da...> - 2008-06-27 01:14:10
|
Just FYI, I created a folder in the project root called config that has checktyle rule file I created called jboss_check.xml. It's based on the coding standards defined here: http://docs.jboss.org/process-guide/en/html/coding.html I also looked at the Eclipse formatter to see if I could get more details into the checkstyle config. And for connivence, I added the 2 Eclipse files in an eclipse sub-folder. Ryan- On Jun 26, 2008, at 3:31 PM, Ryan McDonough wrote: > Bill, > > I have no issues with that. Does JBoss use CheckStyle? If not, I'll > update the checkstyle rules to match the conventions. > > Ryan- > > Ryan J. McDonough > Platform, Specialist Java EE | Sapient > 25 First Street > Cambridge, MA 02141 > desk: +1 617 761 1611 > mobile: +1 508 735 4503 > fax: +1 617 621 1300 > > > The information transmitted is intended only for the person or > entity to > which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of, > or > taking of any action in reliance upon, this information by persons or > entities other than the intended recipient is prohibited. If you > received this in error, please contact the sender and delete the > material from any computer. > -----Original Message----- > From: res...@li... > [mailto:res...@li...] On Behalf > Of > Bill Burke > Sent: Thursday, June 26, 2008 3:09 PM > To: res...@li... > Subject: [Resteasy-developers] Coding conventions > > Mind if we follow the JBoss Code Format Guidelines? All my code > currently follows it: > > > * Fully qualified imports should be used, rather than importing x.y.*. > * Use newlines for opening braces, so that the top and bottom braces > can > > be visually matched. > * 3 space indentation (no tabs!) > * Each method, field, and class annotation on their own line > > import org.jboss.foo; > > public class CodingConventions > { > @Hello > @World > private int field; > > @Hello > @World > public void yo() > { > if > { > yo; > } > else > { > foo; > } > } > } > > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > > ------------------------------------------------------------------------ > - > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |