Page History
...
- Use the Eclipse Checkstyle plugin: https://checkstyle.org/eclipse-cs/#!/
- Note that you can drag the plugin into your Eclipse installation
- Right click your DSpace project; select Properties → Checkstyle
- Go to "Checkstyle → Local check configurations" and click "New"
- Create a "Project Relative Configuration"
- Name: DSpace Internal
- Location: checkstyle.xml
- An "Unresolved Properties Error" box will appear; click "Edit Properties"
- Add a new property
- Name: checkstyle.suppressions.file
- Value: full path to checkstyle-suppressions.xml
- Click OK
- Add a new property
- Go to "Checkstyle → Main"
- Select "DSpace Internal" from the drop down
- Check "Checkstyle active for this project"
- Click OK
- Code will be rebuilt
- Edit a java file. Place a curly brace on a line by itself.
- The line of code should get highlighted in red.
...
Overview
Content Tools