File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Unable to use PMD with JSP" Watch "Unable to use PMD with JSP" New topic
Author

Unable to use PMD with JSP

Aditya Bhavaraju
Greenhorn

Joined: Jun 23, 2010
Posts: 1
Hello!
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
Bartender

Joined: Feb 25, 2007
Posts: 1638

Suits better in the IDE forum, moving ..


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

Joined: May 26, 2003
Posts: 26193
    
  66

Aditya,
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.


[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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unable to use PMD with JSP
 
Similar Threads
Eclipse: Code Audit tools, please share your experience
favorite duplicate code tool?
PMD for Eclipse Version: 3.4.0
Best Static Analysis Tools for Java applications
Find errors in JSPs using PMD?