Hi Mark, That’s not a bad idea, but I still want the deprecation warnings to be available to developers when working in their IDE. For complex reasons, the build system uses the IDE settings for warnings … anyhow, I have a few ideas I can try. Matthew
From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: 24 August 2012 15:14 To: jenkinsci-users@googlegroups.com Subject: Re: Warnings plugin; Can I exclude certain warnings? Couldn't you also exclude the generation of the deprecation warnings from your compilation command? If you're using Java as your language, I believe the Sun Java compiler has a way to exclude specific compiler warnings. Mark Waite ________________________________ From: "matthew.web...@diamond.ac.uk<mailto:matthew.web...@diamond.ac.uk>" <matthew.web...@diamond.ac.uk<mailto:matthew.web...@diamond.ac.uk>> To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> Sent: Friday, August 24, 2012 8:12 AM Subject: RE: Warnings plugin; Can I exclude certain warnings? Thanks for the comprehensive reply, Ulli. > -----Original Message----- > From: > jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> > [mailto:jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>] > On Behalf Of Ullrich > Hafner > Sent: 24 August 2012 15:02 > To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> > Subject: Re: Warnings plugin; Can I exclude certain warnings? > > This is not possible (in the plug-in) yet. > > In order to work in a general way we need to define for each parser a > set of warning type/rule identifiers (like this is done in FindBugs or > Checkstyle). And on the UI part we need the possibility to define the > rules that will be used (or will not). > > As a workaround you can either filter/grep the output to a file that is > scanned by the parser. Or you can extend the current parser (or write a > new one) that does the filtering in code. (You can use the UI to define > the new parser) > > Ulli -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom