tags:

views:

43

answers:

1

I am damm confusing to create a new PMD rule in ruleset! can anyone guide me to the approach to do so? thanks in advance!

A: 

Where do you have a problem, in the official documentation?

Benoit Courtine
yes, all the documentation has not given clear idea to create a new rule in ruleset. I am planning to create rule for comments and javadoc. But unable to create it..! any idea?
hemanth
I am planning to do like following for a rule that is 'java comments'.
hemanth
I have choosen the existed ruleset from pmd and i was modified message, description, priority and implemented class name. Now i am readu to develop a class for checking code to identify the the java comments syntaxes. Here i stopped my implementation due to lack of idea! Any idea on pmd rule for java comments?
hemanth
I m successfully able to create PMD custom/new rules in myeclipse IDE. I have created new rules for checking the initializations of integer numbers and some more. But now d problem is, i just want to create rule for checking javadoc, java comments, whitespaces and indentations. have any idea?
hemanth