Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Line width set to 120 characters (as Java is considered a bit too verbose for the default to work well)
  • Indentation is 4 spaces.  No tabs.

 The exported settings can be found in the builds-tools/src/main/ressources dir.

Source can be formatted by maven using

...

Codestyles changes should be initiated in Eclipse and copied to other IDE's.

Eclipse:

 

  • Use File->Import->General->Preferences to import eclipse-xml-settings.epf in build-tools/src/main/resources
  • Use Preferences->Java->Code Style->Formatter->[Import] to import eclipse-formatter-settings.xml in build-tools/src/main/resources

...