Android PMD Ruleset

Posted: June 17, 2009 in AndCooper, Android, Java, Mobile

Some helpfull tips for everyone. When looking at PMD rule examples make sure that the example uses cdata enclosing tags in the xpath rules. Xavier Le Vourch missed it when he did his example on his blog and partially mine as well as I have not touched the xml side in awhle. Second stick your new ruleset in the pmd.jar, it will open like a zip and hit add file than close.  Than use a classpath refid to inxlude the jar again in the pmd task so tha tthe rulsets are picked up in your ANT build file.

Reblog this post [with Zemanta]
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s