ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tek1 <t...@pobox.com>
Subject Re: pulling .jars from a path?
Date Thu, 16 Jan 2003 06:29:40 GMT
hi stefan.

i will give your suggestion a try.  thanks.



At 09:42 03/01/15 +0100, you wrote:
>On Tue, 14 Jan 2003, <tek1@pobox.com> wrote:
>
> > is it possible to pull all the .jars listed in a path as a fileset
> > (for inclusion in the "lib" nested element of the "war" task)?
>
><fileset>s in Ant (currently) have to be rooted in a common base
>directory.  This is generally not true for an arbitrary collection of
>files, at least on OSes with multiple file system roots (read
>drives).
>
>If you are on a system with a single file system root - assuming "/"
>for the rest here - you could (1) <pathconvert> your path to a comma
>separated list and (2) use that as the includes attribute in a
><fileset> with dir="/".
>
>Stefan
>
>--
>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