Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 51810 invoked from network); 24 Feb 2009 20:17:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 20:17:52 -0000 Received: (qmail 45078 invoked by uid 500); 24 Feb 2009 20:17:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45036 invoked by uid 500); 24 Feb 2009 20:17:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 45025 invoked by uid 99); 24 Feb 2009 20:17:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 12:17:44 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.14.68.75] (HELO server282.com) (64.14.68.75) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 20:17:36 +0000 Received: (qmail 19808 invoked by uid 2007); 24 Feb 2009 20:17:15 -0000 Message-ID: <20090224201715.19807.qmail@server282.com> Reply-To: From: To: "Ant Users List" Subject: =?utf-8?B?UmU6IEV4Y2x1ZGluZyBzb21lIGRpcmVjdG9yaWVz?= Date: Tue, 24 Feb 2009 20:17:15 +0000 MIME-Version: 1.0 X-Mailer: WebMail 2.55 X-Originating-IP: 198.178.8.81 X-Originating-Email: dave.alvarado@remanresource.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Thanks for this input. I changed my directive per your suggestion ... but checkstyle is still examining files I don't want it to. The "**" means a max of two levels deep? I got the same number of messages as before (some included below). Anyway to get the build to crash if something I entered doesn't exist or is invalid? - Dave [checkstyle] C:\Temp\Routing_Engine\ui\src\com\myco\ssml\account\types\Account.java:64:42: warning: 'status' hides a field. [checkstyle] C:\Temp\Routing_Engine\ui\src\com\myco\ssml\account\types\Account.java:74:42: warning: 'source' hides a field. [checkstyle] C:\Temp\Routing_Engine\ui\src\com\myco\ssml\account\types\Account.java:84:46: warning: 'reasonCode' hides a field. [checkstyle] C:\Temp\Routing_Engine\ui\src\com\myco\ssml\account\types\Device.java:14:46: warning: 'autoDiscSN' hides a field. > -------Original Message------- > From: Brian Stephenson > Subject: Re: Excluding some directories > Sent: Feb 24 '09 18:14 > > I think the problem is you only told your fileset to exclude java   > files in the /com/myco/ssml directory itself, not in directories below   > it in the tree. You need to do that. I haven't actually run this in a   > test setting, so it may need a little syntax goosing, but here goes: > > Since you only have one "include" setting in your fileset, you can   > move it up to be a direct attribute of the fileset element, then you   > can enter a sub-element of the fileset element called "depth", which   > tells fileset how many directories deep to go from your base directory   > (here it is "${srcDir}/com")  to match your fileset includes and   > excludes. The fileset code SHOULD (I believe) look like this: > > >    >    >    > > > I put two as the max depth, as the files still being examined by   > checkstyle were two deep from the base directory of the fileset, as   > described in your error messages.  If you have deeper directories,   > adjust that number as needed. > > Brian > > On Feb 24, 2009, at 12:00 PM, wrote: > > > Hi Brian, > > > > I put in the directive much as you have it ... > > > >     > >       > >     > >       > >       > >       > >       > >       > >       > >       > >         > >         > >       > >       > >