From user-return-71878-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Aug 19 16:46:17 2011 Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BFE3A79D1 for ; Fri, 19 Aug 2011 16:46:17 +0000 (UTC) Received: (qmail 93215 invoked by uid 500); 19 Aug 2011 16:46:17 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 93085 invoked by uid 500); 19 Aug 2011 16:46:15 -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 93077 invoked by uid 99); 19 Aug 2011 16:46:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 16:46:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gudnabrsam@gmail.com designates 209.85.218.45 as permitted sender) Received: from [209.85.218.45] (HELO mail-yi0-f45.google.com) (209.85.218.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 16:46:07 +0000 Received: by yih10 with SMTP id 10so2786350yih.4 for ; Fri, 19 Aug 2011 09:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=ToGN/qHReszDP0ktpTGydvpHNVdjnlYuZKm88LnKGck=; b=izCx38f2a+rC2JkqjKIrLIaUqs3+0n955Hvtw2a4XbF6WJhd03yTdkPjaXqKqTSwda OgZwhDJBg5fd1uNdZRBwDEjN9xI1CFEiNkVmRMeHaPPd8Tr3EXaI8erZ0V3p0cPN3Ihz yVALufJVTfqgOwA023N9/cfjJF8E5bhFQV6cw= MIME-Version: 1.0 Received: by 10.146.179.30 with SMTP id b30mr2548434yaf.11.1313772346890; Fri, 19 Aug 2011 09:45:46 -0700 (PDT) Received: by 10.147.124.15 with HTTP; Fri, 19 Aug 2011 09:45:46 -0700 (PDT) Reply-To: gudnabrsam@gmail.com In-Reply-To: References: <87vctvdqok.fsf@v35516.1blu.de> Date: Fri, 19 Aug 2011 11:45:46 -0500 Message-ID: Subject: Re: Performance of fileset containing a large number of files From: Matt Benson To: Ant Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Aug 18, 2011 at 5:12 AM, Julien LF wrote: >> 2011/8/18 Stefan Bodewig : >> Depends on which version of Ant you use. =A0Unless it is 1.8.2 upgrading >> could help as we've improved scanning perfromance with almost every >> release. > > I have some environments stuck with Java 1.3 so i planned to use Ant 1.7.= 1. > I gave Ant 1.8.2 a try (I should have tried that from the start > obviously, sorry) and the performance gain was tremendous as the task > when from 42 minutes to 9 minutes. > >> Another thing to look at is the way you describe your include/exclude >> patterns, if there are any, that is. =A0Patterns that exclude >> whole trees from the root like foo/bar/** can be used to improve >> performance significantly as Ant can skip the whole tree (which it >> didn't do properly before 1.8.2 BTW), for example. >> >> If there are no patterns at all (default excludes?) or they cannot be >> used to shortcut walking the directory tree (**/*.foo) than I don't have >> any other idea what you could do. >> > > I don't use any include/exclude patterns so what I could do is make a > wrapper script to set the Java path to a newer version in order to be > able to use ant 1.8.1, but some of my tasks call our app which > requires Java 1.3. You have an app that will *only* run on Java 1.3? :/ Matt > I'll look into separating the tasks into targets called by the wrapper. > > Thanks a lot, > Julien > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org