MobileBytes

Just another WordPress.com weblog

Android PMD Ruleset

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]

June 17, 2009 - Posted by sharemefg | AndCooper, Android, Java, Mobile | | No Comments Yet

No comments yet.

Leave a comment