WriteTag problem - severity "ignore"?
Mogens Bramm <[email protected]> Thu, 16 Feb 2012 13:39:19 +0100
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <OF8E73B732.DBEDE301-ONC12579A6.00448D6B-C12579A6.0045849E@bdpnet.dk> |
Dette er en besked i flere dele i MIME-format. --===============4050901677040998212== Content-Type: multipart/alternative; boundary="=_alternative 00458499C12579A6_=" Dette er en besked i flere dele i MIME-format. --=_alternative 00458499C12579A6_= Content-Type: text/plain; charset="US-ASCII" Hi, I am trying to use the JavadocPackage module WriteTag, in the way illustrated in the examples of the documentation (using Checkstyle version 5.5): ----- (from the documentation) An example of how to configure the check to print warnings if an "@incomplete" tag is found, and not print anything if it is not found: <module name="WriteTag"> <property name="tag" value="@incomplete"/> <property name="tagFormat" value="\S"/> <property name="severity" value="ignore"/> <property name="tagSeverity" value="warning"/> </module> ---- However, this does not seem to work as I would expect (and - as I understand the example - is supposed to work). According to the release notes of Release 4.0 Beta 5: "Added patch (id 1193251) to suppress processing of checks with 'ignore' severity. " Setting severity level "ignore" completely bypasses the check (), and the above warning is never issued. Can somebody confirm if the problem is in the code, the documentation, or me :-) Regards, Mogens --=_alternative 00458499C12579A6_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="Verdana">Hi,</font> <br><font size=2 face="Verdana">I am trying to use the JavadocPackage module WriteTag, in the way illustrated in the examples of the documentation (using Checkstyle version 5.5):</font> <br> <br><font size=2 face="Verdana">----- (from </font><a href=http://checkstyle.sourceforge.net/config_javadoc.html><font size=2 color=blue face="Verdana">the documentation</font></a><font size=2 face="Verdana">)</font> <br> <br><font size=2 face="Verdana">An example of how to configure the check to print warnings if an "@incomplete" tag is found, and not print anything if it is not found:</font><font size=3> </font> <br><font size=2 face="Courier"><module name="WriteTag"></font> <br><font size=2 face="Courier"> <property name="tag" value="@incomplete"/></font> <br><font size=2 face="Courier"> <property name="tagFormat" value="\S"/></font> <br><font size=2 face="Courier"> <property name="severity" value="ignore"/></font> <br><font size=2 face="Courier"> <property name="tagSeverity" value="warning"/></font> <br><font size=2 face="Courier"></module></font> <br> <br><font size=2 face="Verdana">----</font> <br> <br><font size=2 face="Verdana">However, this does not seem to work as I would expect (and - as I understand the example - is supposed to work).</font> <br> <br><font size=2 face="Verdana">According to the release notes of Release 4.0 Beta 5:</font> <br><font size=2 face="Verdana">"Added patch (id 1193251) to suppress processing of checks with 'ignore' severity.</font><font size=3> "</font> <br> <br><font size=2 face="Verdana">Setting severity level "ignore" completely bypasses the check (), and the above warning is never issued.</font> <br> <br><font size=2 face="Verdana">Can somebody confirm if the problem is in the code, the documentation, or me :-)</font> <br> <br><font size=2 face="Verdana">Regards,</font> <br><font size=2 face="Verdana">Mogens</font> <br> <br> <br> <br> <br> <br> --=_alternative 00458499C12579A6_=-- --===============4050901677040998212== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ --===============4050901677040998212== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user --===============4050901677040998212==--