Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 405ADD455 for ; Wed, 15 May 2013 12:37:11 +0000 (UTC) Received: (qmail 16090 invoked by uid 500); 15 May 2013 12:37:10 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 15695 invoked by uid 500); 15 May 2013 12:37:09 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 15648 invoked by uid 99); 15 May 2013 12:37:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 12:37:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of garydgregory@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bk0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 12:37:01 +0000 Received: by mail-bk0-f45.google.com with SMTP id je9so974924bkc.18 for ; Wed, 15 May 2013 05:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:references:from:mime-version:in-reply-to:date:message-id :subject:to:content-type; bh=2gRK79/6menyyhhpN0sMSiTvHGExsy04YNmIb9+K74I=; b=uOywi3LyBzVUOUFnI4p1LzHxhvoew6CCFtfQ/1HE64c0+YNXB3Zr9x/fTDCgDDxDRK 1wtWC/c6OHkn++GN818J4R/fc4GQE+XvzDDU8hW/kcA1Ve+BIlBARb2le/6/q/CsuO6t R+mhG1TDqMvXwbkSwE7Jjr+/vZweIUVagb29j5zIZL+YNEDum+4qfSFS2PqS/r+jFyLw BzIStlhHjxS9aPvqC8aH53HE5jFduXlrGPhzic6jekzWJHfjj0P6OJybvrTbL1JNqTRC sYrYK5dkHGDNzfQs+dnVXHXD6wTzuJ7iW0gcv1kff/4R0D3J2FMtl9WU6Ob2UmzmPLWX LAZg== X-Received: by 10.205.46.131 with SMTP id uo3mr10170246bkb.43.1368621400827; Wed, 15 May 2013 05:36:40 -0700 (PDT) References: From: Gary Gregory Mime-Version: 1.0 (1.0) In-Reply-To: Date: Wed, 15 May 2013 08:36:39 -0400 Message-ID: <2721539267344862907@unknownmsgid> Subject: Re: [ALL] RAT 0.9 slowness To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Can we do this in the pare t POM? Gary On May 15, 2013, at 4:03, Thomas Neidhart wrote: > in collections I already filter it like this: > > > > > org.apache.rat > apache-rat-plugin > > > site-content/**/* > > > > ... > > > > > On Wed, May 15, 2013 at 3:19 AM, sebb wrote: > >> I've just done a test with IO, and the speed problem seems to be >> related to the SVN files under site-content. >> These seem to cause 0.9 to hang - a thread dump shows the code is >> mainly at the line: >> >> at >> org.apache.rat.analysis.license.FullTextMatchingLicense.match(FullTextMatchingLicense.java:79) >> >> This is calling Pattern.matcher() so I assume there must be some kind >> of content that causes the regex engine to churn. >> Perhaps the pattern is causing excess backtracking. >> >> I've no idea why 0.9 has a problem with these particular files, but >> they should not be included in the RAT check anyway. >> >> If you want to test RAT on its own: >> >> mvn apache-rat:rat [-Dcommons.rat.version=0.9] >> >> Obviously there is a bug in RAT 0.9, but maybe we can avoid it by >> excluding site-content. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org