configure checkstyle rules

  7 posts   Feedicon  
Replies: 6 - Last Post: October 28, 2009 17:38
by: mkleint
showing 1 - 7 of 7
 
Posted: October 18, 2009 13:31 by Barseize
Hello,

Is it possible to configure checkstyle rules with SQE plugin ?
thank you for your reply.


PS : sorry for my english (i'm french)
 
Posted: October 18, 2009 13:42 by Barseize
I forgot to mention that it is for a maven project.
 
Posted: October 19, 2009 14:30 by Markus Kilås
In the project settings there is the possibility to specify some checkstyle configuration files and also properties. But I have not tested that myself yet.


Best Regards,
Markus
 
Posted: October 19, 2009 19:34 by Barseize
thank Markus,
but there is no this possibility for a maven project.
 
Posted: October 20, 2009 22:28 by Jesse Glick
SQE ought to pick up configuration for maven-checkstyle-plugin from your POM, rather than keeping its own private Checkstyle settings. I have not tried this myself, so if you run into problems please file bugs.
 
Posted: October 24, 2009 20:27 by Barseize
Hello,
I did some test today, so SQE does not support url like ${basedir}/checkstyle.xml for the checkstyle configuration file and does not support the rule PackageHtml. I have also rename the path in ./checkstyle.xml and commented the rule PackageHtml therefore checkstyle work with my configuration .

Thanks for this plugin.
 
Posted: October 28, 2009 17:38 by mkleint
I've changed the checkstyle and pmd configuration lately to support local filesystem, plugin classpath and remote url locations of checkstyle and pmd rules. For pmd, some basic filtering is implemented (based on a maven plugin property to exclude tests)
To appear in the next release I guess..
showing 1 - 7 of 7
Replies: 6 - Last Post: October 28, 2009 17:38
by: mkleint
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close