Return-Path: X-Original-To: apmail-creadur-dev-archive@www.apache.org Delivered-To: apmail-creadur-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A038DEA4 for ; Sat, 11 Aug 2012 02:54:12 +0000 (UTC) Received: (qmail 77392 invoked by uid 500); 11 Aug 2012 02:54:12 -0000 Delivered-To: apmail-creadur-dev-archive@creadur.apache.org Received: (qmail 77360 invoked by uid 500); 11 Aug 2012 02:54:12 -0000 Mailing-List: contact dev-help@creadur.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@creadur.apache.org Delivered-To: mailing list dev@creadur.apache.org Received: (qmail 77352 invoked by uid 99); 11 Aug 2012 02:54:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2012 02:54:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.111.4.29] (HELO out5-smtp.messagingengine.com) (66.111.4.29) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2012 02:54:06 +0000 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 578B620A2C for ; Fri, 10 Aug 2012 22:53:45 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 10 Aug 2012 22:53:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=rqAgvmiYcG2HhsKq6nFGxKrGjZQ=; b=tPNUt+l05B1zwj2+B3HWQVgMSXGr Hlv6I7wAF+/5OjD4UDADpb5vX45YIyQHlln7rLBDBFv2JSwMprDwm/MrokYNkvRn X70SEHjCo4ingK1oo8i5NfKlPQB3ONG7njSl/RaVH+QJ2+Oq3Mj2z1lkXmRSlMVg BtBV9Wx9zMACQ3w= X-Sasl-enc: Sp8h3/VdXBb0KJfONhLDInFjetpibkvMGldtqGHdKatQ 1344653624 Received: from localhost (unknown [123.51.17.46]) by mail.messagingengine.com (Postfix) with ESMTPA id 8A01A8E01F3 for ; Fri, 10 Aug 2012 22:53:44 -0400 (EDT) Date: Sat, 11 Aug 2012 12:53:42 +1000 From: David Crossley To: dev@creadur.apache.org Subject: Re: Question about using Rat and the potential to create "accepted exceptions" Message-ID: <20120811025342.GB36144@igg.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Checked: Checked by ClamAV on apache.org Jochen Wiedmann wrote: > You didn't tell us, how you are using Rat: > > . Maven Plugin: Use the excludes and/or includes properties, see > > http://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html > > - Ant Tasks: The rat-report task uses a standard Ant fileset to specify files > that are being checked. These can contain nested excludes specifications: > > http://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html Also an example of using the Ant task for RAT directly (no maven) to provide a separate "excludesfile" file with various patterns to exclude: Re: RAT running nicely against Forrest with excludes http://s.apache.org/jmd -David > On Fri, Aug 10, 2012 at 4:56 PM, Chip Childers > wrote: > > Hi all, > > > > I'm working with the CloudStack (Incubating) project to sort through > > our licensing issues. Specifically, we are using Rat to help us > > identify source files with missing ASF license headers. > > > > It's a great tool, so let me first extend my thanks to this community > > for creating it! > > > > I'm dealing with a situation now, where I'd like to be able to > > configure Rat to have "accepted exceptions". An example of this is > > that we are storing Debian packaging files in the repo. > > Unfortunately, Debian packaging files for binary packages aren't > > allowed to have any comments in them. Other examples include keys, > > certificates, etc... > > > > Is there a method to tell Rat to exclude certain files in it's analysis? > > > > Thanks in advance for any advice / direction / suggestions. > > > > -chip