PMD-Eclipse: How to set suppressmarker? -


as pmd docs say,

you can tell pmd ignore specific line using "nopmd" marker

but

you can use whatever text string want suppress warnings

by using command-line option -suppressmarker.

how can set -suppressmarker when using pmd-eclipse plugin?

the pmd plugin eclipse doesn't contain options command line does. easiest thing use //nopmd , ignore problem completely.

alternatively, use ant script run pmd. can set ant script run builder eclipse project if want run automatically. lose eclipse integration approach though. looking @ html report rather being able click on error seems big tradeoff use different marker.


Comments

Popular posts from this blog

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -