ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Winspur" <>
Subject Re: <classpath >as a source for <copy> ?
Date Tue, 05 Feb 2002 03:25:19 GMT
Actually, having all the libs in one directory was my first workaround, but
it fell
apart at a client site where did not have control over where the library
files resided.

For now my technique
of a limited number of library-location properites is working, but I may
time to make a version of Fileset that takes a files="path1,path2.."
attribute, in
week or so. I've made a few minor extensions to ant before, but I've found
that it was trouble maintaining them when new ant versions are installed. A
client would upgrade ant, and my scripts quit working, so I'd have to spend
time on the phone, after I'd moved on, getting them around the problem. Not
a productive interruption.. Nowadays, I just use the basic tasks.

I  will raise the issue of getting changes into the next release on the
list if I do extend fileset.


----- Original Message -----
From: "Diane Holt" <>
To: "Ant Users List" <>
Sent: Monday, February 04, 2002 4:33 PM
Subject: Re: <classpath >as a source for <copy> ?

> --- 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.)
> Diane
> =====
> (
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

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

View raw message