Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 80512 invoked from network); 16 Sep 2005 05:26:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Sep 2005 05:26:10 -0000 Received: (qmail 26061 invoked by uid 500); 16 Sep 2005 05:26:05 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25836 invoked by uid 500); 16 Sep 2005 05:26:04 -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 25819 invoked by uid 99); 16 Sep 2005 05:26:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 22:26:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of antoine@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Sep 2005 22:26:13 -0700 Received: (qmail invoked by alias); 16 Sep 2005 05:26:00 -0000 Received: from tmo-016-59.customers.d1-online.com (EHLO [127.0.0.1]) [80.187.16.59] by mail.gmx.net (mp029) with SMTP; 16 Sep 2005 07:26:00 +0200 X-Authenticated: #22961642 Message-ID: <432A5777.5020704@gmx.de> Date: Fri, 16 Sep 2005 07:26:15 +0200 From: Antoine Levy-Lambert User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Fileset search file References: <4329A9AC.2080302@sfw.com.br> In-Reply-To: <4329A9AC.2080302@sfw.com.br> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jo�o Augusto Charnet wrote: > Hello, > I'm using Fileset to search through a series o files of the same > extension (say *.jsf). I'd like to know if file set does a depth > search, ou a width search through out the directories. > Example: > Let's say I have the following directory structure: > ... > |BaseDir > | | > | |Dir1 > | | > | |File1.jsf > | |File2.jsf > | |Dir2 > | | > | |File3.jsf > | > |File4.jsf > |File4.jsf > > What order would it return my files ? > File1, File2, File3, File4, File5 ? > Or > File4, File5, File1, File2, File3 ? > > Thanks a lot. > John. The javadoc says that the order is not determined. The current implementation would rather deliver the first option, but you should not rely on it. Cheers, Antoine --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org