You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by ru...@grayshirt.com on 2003/02/19 22:48:00 UTC

DirectoryScanner.getIncludedDirectories ordering

Does anyone know what order (if any) the String[] returned by 
DirectoryScanner.getIncludedDirectories() is in?

Re: DirectoryScanner.getIncludedDirectories ordering

Posted by Antoine Levy-Lambert <le...@tiscali-dsl.de>.
You have first the implicit fileset contained in the jar/zip/war/ear which
you are building, then each of the nested filesets or zipfilesets
The order of directories within each fileset is the one returned by the
operating system and the File class of the JVM where ant is running.
There is however no precise contract concerning this AFAIK.
Antoine
----- Original Message -----
From: <ru...@grayshirt.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Wednesday, February 19, 2003 10:48 PM
Subject: DirectoryScanner.getIncludedDirectories ordering


> Does anyone know what order (if any) the String[] returned by
> DirectoryScanner.getIncludedDirectories() is in?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


Re: DirectoryScanner.getIncludedDirectories ordering

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 19 Feb 2003, <ru...@grayshirt.com> wrote:

> Does anyone know what order (if any) the String[] returned by 
> DirectoryScanner.getIncludedDirectories() is in?

completely undefined.

Stefan