java - Save output from PMD Eclipse plugin -


i know pmd can exectued on command line , output file specified there, reasons saving eclipse plugin results file make life easier.

is there way this? i've hunted around haven't found solution.

this functionality bit hidden, exists.

  1. go "window -> preferences -> pmd -> reports" , select report format, want, e.g. "text".
  2. right-click on project , select "pmd -> check code".
  3. right-click on project , select "pmd -> generate reports".

now, should have new folder reports in project, contains file pmd-report.txt.

it seems, report created, if there violations, hence 2nd step (e.g. there must @ least 1 violation marked in project).

edit: assumes, using pmd-eclipse plugin update site: https://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ - note, there alternative eclipse-pmd plugin available.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -