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
Post a Comment