Is Eclipse coding style checked as an Ant task?
In Eclipse, I can set all kinds of preference for coding style. I would like them to execute them as an ant task to make the build break.
Can anyone give me an example on how to apply eclipse coding styles in an ant task?
(I KNOW about PMD, checkstyle, etc., none of these EXACTLY match eclipse's coding style preferences. I want an ant task that matches eclipse's coding style exactly)
+1
hawkeye
source
to share
2 answers
Try checkstyle (there is an eclipse plugin and an ant task that generates reports. You can "break" the build if you like).
http://checkstyle.sourceforge.net/
+4
BraveSirFoobar
source
to share
I would like to connect eclipse to checkstyle - and use eclipse style preferences - not checkstyle preferences in eclipse.
0
hawkeye
source
to share