How to add multiple path in PMD #2571
-
Description: /home/mohd/findbugs-3.0.1/bin/run.sh pmd -d /home/mohd/Desktop/Fxt/Codegen/src/main/java /home/mohd/Desktop/Fxt/VC-Git-Skill/src/main/java -f xml -failOnViolation false -reportfile pmd.xml -R rulesets/java/quickstart.xml When i execute this command i got error Please help how to add multiple path in PMD |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Specifying multiple paths is not supported unfortunately. Here's what's supported: https://pmd.github.io/latest/pmd_userdocs_cli_reference.html You can do the following:
|
Beta Was this translation helpful? Give feedback.
-
@adangel Thanks for your comment but i found the solution its work for me |
Beta Was this translation helpful? Give feedback.
Specifying multiple paths is not supported unfortunately. Here's what's supported: https://pmd.github.io/latest/pmd_userdocs_cli_reference.html
You can do the following:
-d /home/mohd/Desktop/Fxt/
- then your two projects will be included, but maybe more projects, that you don't want to have analyzed.find /home/mohd/Desktop/Fxt/Codegen/src/main/java /home/mohd/Desktop/Fxt/VC-Git-Skill/src/main/java -name "*.java" > filelist.txt
and use that via-filelist filelist.txt