...
- Go to Eclipse -> Preferences -> Checkstyle -> New ...
- Choose Project Relative Configuration, type in the name Qcadoo Checkstyle and choose the checkstyle.xml file from the projects main source directory
- Click OK
- Choose the new configuration and click Set as Default
- Click OK
- In the projects menu click on Checkstyle -> Activate Checkstyle
If you cant choose the file checkstyle.xml id Project Relative Configuration:
- go to Eclipse -> Preferences -> Checkstyle -> New ...
- choose External Configuration File, type in the name Qcadoo Checkstyle and choose the checkstyle.xml file
- click OK
- choose Set ad Default
- click OK
- in the projects menu click on Checkstyle -> Activate Checkstyle
Formatters configuration
- Go to Eclipse -> Preferences -> Java -> Code Style -> Formatter
- Click Import and choose the file formatter.xml from the projects main source code directory
- click OK
Save Actions configuration
- Go to Eclipse -> Preferences -> Java -> Editor -> Save Actions
- Choose Perform the selected actions on save
- Choose Format source code
- Choose Format all lines
- Choose Organize imports
Other configurations
- Go to Eclipse -> Preferences -> Java -> Compiler
- set Compiler Compliance Level on 1.6
- Go to Eclipse -> Preferences -> General -> Workspace
- Set Text File Encoding to Other: UTF-8
- Set New text file line delimiter to Unix
- Click OK
- Go to Eclipse -> Java -> Build Path -> Classpath Variables
- Click New and in the Name filed type in M2_REPO and in Path type the path to Mavens repository