ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: <classpath >as a source for <copy> ?
Date Mon, 04 Feb 2002 23:33:45 GMT
--- Bill Winspur <> 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.)



Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!

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

View raw message