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 &quot;@incomplete&quot; tag is found, and not print
anything if it is not found:</font><font size=3> </font>
<br><font size=2 face="Courier">&lt;module name=&quot;WriteTag&quot;&gt;</font>
<br><font size=2 face="Courier">&nbsp; &nbsp;&lt;property name=&quot;tag&quot;
value=&quot;@incomplete&quot;/&gt;</font>
<br><font size=2 face="Courier">&nbsp; &nbsp;&lt;property name=&quot;tagFormat&quot;
value=&quot;\S&quot;/&gt;</font>
<br><font size=2 face="Courier">&nbsp; &nbsp;&lt;property name=&quot;severity&quot;
value=&quot;ignore&quot;/&gt;</font>
<br><font size=2 face="Courier">&nbsp; &nbsp;&lt;property name=&quot;tagSeverity&quot;
value=&quot;warning&quot;/&gt;</font>
<br><font size=2 face="Courier">&lt;/module&gt;</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">&quot;Added patch (id 1193251) to suppress
processing of checks with 'ignore' severity.</font><font size=3> &quot;</font>
<br>
<br><font size=2 face="Verdana">Setting severity level &quot;ignore&quot;
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==--