ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: Fileset in Win2k with files from different drives?
Date Wed, 21 Nov 2001 01:47:39 GMT
On Wed, 21 Nov 2001 11:24, Skip Hovsmith wrote:
> How does one specify a <fileset> containing files from different drives on
> Win2k?
> Something like
>   <fileset dir="/" includes="c:/file1.txt,d:/file2.txt"/>
> doesn't seem to work, "/" seems to refer to the root directory of the
> current drive instead of the root of all drives.

use a different fileset for every different basedir you want to use. 

> What I actually want to do is to copy a comma separated list of external
> jar files into a single directory. I was going to use <copy> with the
> flatten attribute, but I can't get a fileset to include files from
> different drives. Is there a better way?

not at this stage. We have talked about the possibility of converting a 
single file into a fileset and a path into a fileset but these features have 
not yet been implemented.



"Wise men don't need advice. Fools don't take it." 
                        -Benjamin Franklin 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message