RE: [Clirr-devel] Maven plugin: filtering error messages
Status: Alpha
Brought to you by:
lkuehne
From: Vincent M. <vma...@pi...> - 2004-07-05 07:05:36
|
> -----Original Message----- > From: cli...@li... [mailto:clirr-devel- > ad...@li...] On Behalf Of Simon Kitching > Sent: lundi 5 juillet 2004 01:15 > To: cli...@li... > Subject: [Clirr-devel] Maven plugin: filtering error messages > > Hi, > > On Friday I sent an email regarding the Ant task. This could apply to > the Maven plugin too, so here's the original comment for your > consideration... > > On Fri, 2004-07-02 at 15:09, Simon Kitching wrote: > > > One thing that should now be fairly easy to support if you wish to is > > adding some stuff to the Ant task to allow users to selectively ignore > > certain messages. Because each message has a unique id, it should be > > simple to support tags in the ant file like: > > > > <ignore-error class="com.acme.widget" message-id="7001"/> > > > > When a build "clirrs" (in your suggested terminology :-), but the user > > doesn't care about that particular problem, they could add a tag like > > this to suppress the error-counting for that problem. And it will work > > for any locale, because the message-ids don't change by locale. > > > > Just a thought.... I completely agree that we need a way to tell Clirr to ignore some checks. However, I'd prefer that this ignore list be specified with the name of the check (check id) instead of the message id. But I could live with both solutions. Thanks -Vincent |