cancel
Showing results for 
Search instead for 
Did you mean: 

Using PMD with Web Dynpro

0 Kudos

Hello,

We've been trying to integrate PMD (http://pmd.sourceforge.net/) with NetWeaver Developer Studio, but all we've been able to accomplish is it checking our own java classes. PMD completely ignores java classes generated by Web Dynpro. Is there a way to make it see those classes as well?

Accepted Solutions (1)

Accepted Solutions (1)

Qualiture
Active Contributor
0 Kudos

The source of Web Dynpro generated files aren't *.java files, but *.wdcontroller files

I'm not familiar with PMD, but you might need to add the extra file extension

(Being it Java source encapsulated in XML, you may run into a plethora of other issues, but you could give it a try)

0 Kudos

Actually, there are *.java files under gen_wdp/packages, but even if we try running PMD check directly on them, it still doesn't work.

Answers (1)

Answers (1)

0 Kudos

Nwm, found the answer. All we had to do was enable PMD in project properties.