There is a myfaces eclipse XML file for formatting the java source, but I can't find it at the moment (It uses 4 spaces for indentation, which I think is excessive). I can't remember where I found it though, it was referenced from some committer information page.
On 9/28/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > I haven't really followed such an interesting topic in the past, so > here is my question: > Is there any "apache coding standard" thing ? Or is for all "Apache > Java efforts" the SUN paperworks the one to go ? > > -M > > On 9/28/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > > Hi! > > > There have been a lot of discussions on coding conventions here at > > > MyFaces. I don't think we've reached an agreement so far ;) > > > > > > > >>> * indentation is 2 spaces with no "tabs" > > >>> > > I'd say two spaces are too much, one space should be sufficient. > > > > ;-) Just kidding. > > > > > > Honestly, if we warm up this discussion I think it would be best to > > simply stick with the SUN propsed [1] one - even if I don't like them > > that much (e.g. I like the opening brace on the next like) I've found > > that many other developer use them (or a derivate) and also newbies are > > used to them. > > > > Ciao, > > Mario > > > > [1] http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html > > > > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > mail: matzew-at-apache-dot-org >
