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 have 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 developers list if I do extend fileset. Bill. ----- Original Message ----- From: "Diane Holt" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 4:33 PM Subject: Re: <classpath >as a source for <copy> ? > --- Bill Winspur <[EMAIL PROTECTED]> 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 > > ===== > ([EMAIL PROTECTED]) > > > > __________________________________________________ > Do You Yahoo!? > Great stuff seeking new owners in Yahoo! Auctions! > http://auctions.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
