Suppress is not ignoring the files

"Kavitha S" <[email protected]> Tue, 11 Jan 2011 14:24:55 +0530
Newsgroups gmane.comp.java.audit.checkstyle.user
Organization Dhyan Infotech
Message-ID <[email protected]>
Hi,

 

SuppressionFilter is not ignoring the files which are given in
suppressions.xml.

 

Configured Checkstyle version is 4.4

 

In checkstyle.xml,

<module name="Checker">

    <module name="SuppressionFilter">

      <property name="file"
value="/home/svn/testrepo1/scripts/suppressions.xml"/>

    </module>

        <module name="TreeWalker">

           <module name="ConstantName"/>

            ..

        </module>

</module>

 

 

In suppressions.xml (which is in /home/svn/testrepo1/scripts),

 

<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC

    "-//Puppy Crawl//DTD Suppressions 1.0//EN"

    "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">

 

<suppressions>

    <suppress checks="."

              files="[/\\]Constants[/\\]java[/\\]"/>

</suppressions>

 

Please help me on how to configure suppressions.xml

 

Regards,

Kavitha

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user