aspose file tools*
The moose likes Websphere and the fly likes Creating new rules for code review in RAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Creating new rules for code review in RAD" Watch "Creating new rules for code review in RAD" New topic
Author

Creating new rules for code review in RAD

Sanjay Ram
Greenhorn

Joined: Jan 10, 2006
Posts: 4
Hi all ,

I am new to this RAD tool and have no hands on experience over this
tool.

My requirement is to write a new rule for code review purpose and how can i do it RAD.

can anybody pls help me out
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30293
    
150

Sanjay,
RAD provides templates that you can use to build the rules. First thing is to think about what you want your rule to be. Then go into the workspace preferences and look for the code review section. The templates are there.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

Does the code rules engine come from Eclipse? I don't recall.


My Blog: Down Home Country Coding with Scott Selikoff
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30293
    
150

Originally posted by Scott Selikoff:
Does the code rules engine come from Eclipse? I don't recall.

Yes. But RAD adds a bunch more rules/templates out of the box.
Sanjay Ram
Greenhorn

Joined: Jan 10, 2006
Posts: 4
Hi,

First of all Thanks for your reply.

But what if i want to write a brand new rule that is not there in
template list . Suppose assume that if i need to review my code in which
all the resources i had used is closed in the finally block.

How to write a new code rule for this kind of requirement using RAD. This rule is not there in template. So i need to write a new one .

so how can i do it in RAD ..??? help me out.

Thanks,
Sanjay
Minni Sharma
Greenhorn

Joined: Mar 03, 2010
Posts: 16
Go To RAD->windows->Preferance->PMD->Rules Configuration->Add Rule
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating new rules for code review in RAD