This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Unable to use PMD with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Unable to use PMD with JSP" Watch "Unable to use PMD with JSP" New topic

Unable to use PMD with JSP

Aditya Bhavaraju

Joined: Jun 23, 2010
Posts: 1
I'm using Eclipse Ganymede for development and PMD 3.2.6 as my static code analyzer.PMD works fine for java but when I point at JSP pages in Eclipse and right click there is simply no pmd option to check jsp code.Can anyone please suggest a workaround?It is a project requirement.I will be obliged.
Thank you.

Warm Regards
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

Suits better in the IDE forum, moving ..

apigee, a better way to API!
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32481

Welcome to CodeRanch!

One workaround is to use the command line or Ant. Note that PMD can only handle JSPs if they are well formed.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Have you checked out Aspose?
subject: Unable to use PMD with JSP
jQuery in Action, 3rd edition