ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: pulling .jars from a path?
Date Wed, 15 Jan 2003 08:42:41 GMT
On Tue, 14 Jan 2003, <> 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

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="/".


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

View raw message