Checkstyle suppressions: what am I doing wrong?

mario91000

New Member
I'm using checkstyle on the commandline. Not in Maven or ANT.I've defined a \[code\]suppressions.xml\[/code\] file and referenced it from my \[code\]-c CheckstyleConfig.xml\[/code\].Checkstyle runs (no parsing errors), but it isn't suppressing anything.I'm trying to make Checkstyle ignore \[code\].class\[/code\] files. Here is the content of my \[code\]suppression.xml\[/code\] file:\[code\]<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE suppressions PUBLIC"-//Puppy Crawl//DTD Suppressions 1.1//EN""http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"><suppressions> <suppress checks="." files="(.*\.class)"/></suppressions>\[/code\]Any ideas on what I'm doing wrong? Checkstyle is still processing \[code\].class\[/code\] files.Thanks.
 
Back
Top