[cdi-dev] Code Formatting Rules

Pete Muir pmuir at redhat.com
Mon May 16 11:56:18 EDT 2011


Haha. George, fancy another pull req?

On 16 May 2011, at 16:54, Dan Allen wrote:

> Please note that the JBoss Community profile is not the same as the Seam 2 or Weld formatters. It aligns much more closely with the Java conventions, with a few minor updates for consistency. Again, see the readme for details.
> 
> -Dan
> 
> On Mon, May 16, 2011 at 08:53, Dan Allen <dan.j.allen at gmail.com> wrote:
> We are using the JBoss Community formatting profile. We maintain a copy of it in the Seam build repository.
> 
> https://github.com/seam/build
> 
> We have profiles for Eclipse, NetBeans and IntelliJ.
> 
> The rules for XML are listed in the readme.
> 
> This is laid out on the development guidelines page as well:
> 
> http://seamframework.org/Seam3/DevelopmentGuidelines#H-Code
> 
> Cheers,
> 
> -Dan
> 
> On Fri, May 13, 2011 at 08:41, Pete Muir <pmuir at redhat.com> wrote:
> The API follows the same rules as Weld, see https://github.com/weld/core/blob/master/eclipse-code-formatter-profile.xml. Eclipse doesn't support pluggable XML formatting so you are on your own there ;-)
> 
> On 13 May 2011, at 16:07, George Gastaldi wrote:
> 
> > Hello,
> >
> > Which code formatting rules are we following on the spec ? Is there a
> > Eclipse formatter XML avaiable for this project ?
> >
> > Regards,
> >
> > Goerge
> > _______________________________________________
> > cdi-dev mailing list
> > cdi-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/cdi-dev
> 
> 
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
> 
> 
> 
> -- 
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
> 
> http://www.google.com/profiles/dan.j.allen#about
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> 
> 
> 
> 
> -- 
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
> 
> http://www.google.com/profiles/dan.j.allen#about
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> 




More information about the cdi-dev mailing list