On this page we show some optional Eclipse customizations that you might find useful when setting up you developers enviorment.
Necessary plugins
- AJDT - http://www.eclipse.org/ajdt/ - AspectJ Development Tools
Plugins
- Checkstyle - http://eclipse-cs.sourceforge.net/downloads.html - Eclipse Checkstyle Plug-in v5.1.0
- Atlassian - http://update.atlassian.com/atlassian-eclipse-plugin/e3.6 - Atlassian Connector for Eclipse, Atlassian JIRA Connector, Atlassian Bamboo Integration
- EGit - oficjalne repozytorium Heliosa - Collaboration / Eclipse EGit
- PMD - http://pmd.sourceforge.net/eclipse - PMD for Eclipse 3
- Mylyn - oficjalne repozytorium Heliosa Mylyn - Mylyn Task List
Checkstyle configuration
- 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