Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Here are a few style guidelines for writing code:

  • Indent each level using 3 spaces
  • Place braces on a new line like
public void foo()
{
   log.info("foo");
}
  • Format long method lines sensibly
  • When writing docs or comments use an 80 character gutter
  • When writing XML, indent each level with 3 spaces
  • When writing docbook, normally tags which display inline are placed inline in the XML source

And most importantly, take a look at some existing files, and be consistent!

You can find an Eclipse code format template in the SVN checkout (eclipse-code-formatter-profile.xml); apply it by going to the project's Properties -> Java Code Style -> Formatter -> Import.