On 26/03/2012, at 8:51 PM, Luke Daley wrote: > Should we create issues? At least for the two dot points?
Yes. Can you take care of this? We should think about separating the reports into separate directories at some point, as well. Plus make it possible to convert a Report to a FileTree, for copying, zipping, publishing, etc. > > Begin forwarded message: > >> From: Gradle <[email protected]> >> Subject: New idea: make code quality plugins coherent, and separate xml and >> html ... >> Date: 22 March 2012 10:38:28 AM GMT >> To: [email protected] >> >> jnizet just shared this idea in Gradle: >> >> make code quality plugins coherent, and separate xml and html reports >> >> I tried using these three code quality plugins: findbugs, pmd, and >> checkstyle. All basically do the same things: use a config file, check the >> source or byte code, and generate reports. However, they don't follow the >> same rules: >> >> - checkstyle needs a config file to be present, and makes the build fail >> otherwise. The other two plugins use a default configuration. >> - findbugs generates xml OR html. PMD generates both by default. Checkstyle >> generates only XML. They should all be able to generate both types, IMHO, >> and should have the same default >> >> Moreover, I would find it much cleaner to have html reports generated in a >> html subdirectory, and xml reports to be generated in an xml subdirectory. >> This would make other tasks (publishing to sonar, zipping, etc.) easier to >> develop. Moreover, if other future plugins (please support cobertura!) adopt >> the same strategy, it will be even more important because they might >> generate a whole lot of xml and html files. Cobertura, for example, >> generates one html file per class. >> Reply | Notify me when people reply >> >> This message sent from the Gradle community on Get Satisfaction. >> To unsubscribe or change your email settings, click here. >> >> >> ---------------- >> Create a customer community for your company at GetSatisfaction.com. >> > > -- > Luke Daley > Principal Engineer, Gradleware > http://gradleware.com > -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
