• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to use PMD with JSP  RSS feed

 
Aditya Bhavaraju
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suits better in the IDE forum, moving ..
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37249
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!