You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Magnolia Code Style

Magnolia contributors are plead to follow the conventions below:

  • apart from standard Java coding conventions:
  • tab policy: spaces only (warning)
  • indentation size: 4 spaces
  • maximum line width: 120
  • we preferably don't use abbreviations in classnames (only exception to that rule is MgnlSomething)

Also ensure that you have the right license headers in place!

See the file attached for Eclipse Preferences (which you can simply import and everything should be done).

Note: you have to reset the M2_REPO variable (Preferences > Java > Build Path > Classpath Variables) to match your local Maven 2 repository again. 

  • No labels