The Artima Developer Community
Sponsored Link

Java Buzz Forum
PMD ruleset for J2ME II

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 4361
Nickname: shareme
Registered: Jan, 2003

Fred Grott is Lead Developer-CEO of ShareMe Technologies LLC -The Mobile Future
PMD ruleset for J2ME II Posted: Nov 7, 2005 3:41 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: PMD ruleset for J2ME II
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From ShareMe Technologies LLC-The Mobile Future

Advertisement
Hmm, I think I discovered the right strategy to make a PMD ruleset for J2ME development. For this to work you need and IDe that has both a PMD plugin and an AST viwere plugin. If you are using Eclipse the AST viewer plugin is here.

Bascially, you will be coding two classes the correct one and the bad one. In the AST viewer you want to denote the differences in nodes as what is common in nodes between classes you do not have to write as a xpath PMD rule. What is missing from the bad class is what your xpath PMD rule is checking for in that particular rule.

The advantages of using both plugins in an IDE is that you do not have to step out of teh IDe and fumble with PMD stand-alone and then get back into the IDE as its all in one place.

Read: PMD ruleset for J2ME II

Topic: Ahead of the Curve Previous Topic   Next Topic Topic: Master degree.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use