On Tue, 20 Mar 2012 12:07:06 +0100 Nicolas Hernandez <nicolas.hernandez at aleph-networks.com> wrote: > Could it be possible to have a checktsyle file ?
I've played around with Checkstyle a bit and it looks like it could be configured to detect quite a lot of stuff. You can find what I've done here[0] if you are interested (config, Ant target and a script for checking commits). The main problem I see is that there is a lot of code that should be fixed, so checks have to be added slowly so people won't just ignore it. Having at least a subset of the checks being run on each build would be nice, even if it would only catch simple things. Disclamer: the full config currently in my tree produces 104k warnings and is probably poorly suited to Freenet, so some tweaking is needed :) [0] https://github.com/zidel/fred-staging/tree/checkstyle
