ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Winspur" <bwins...@wynnon.com>
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
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" <holtdl@yahoo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, February 04, 2002 4:33 PM
Subject: Re: <classpath >as a source for <copy> ?


> --- 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>
>
>


--
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