ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: <classpath >as a source for <copy> ?
Date Mon, 04 Feb 2002 23:33:45 GMT
--- Bill Winspur <bwinspur@wynnon.com> wrote:
> Thanks Diane, but this doesn't work for me because I want my ant script
> to be invariant, only changing the properties to customize behaviour,

Oh, sorry -- thought you were just looking for how to get five files from
different directories into your copy-to directory.

Will all the files you'll want to copy be in some subdir from your basedir
(or some other single point)? If they will, you could just use the
'includes' attribute for <fileset> -- that takes a comma-separated list.
(Note: Doing it this way, you'll need to include 'flatten="yes"' in your
<copy> task if you don't want the files to retain their subdirectories
when they get copied.)

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message