ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniels, Doug" <Doug.Dani...@GDC4S.Com>
Subject RE: how to convert path to fileset
Date Mon, 29 Mar 2004 17:31:34 GMT
Sorry about that I just realized that converting the path like that isnt
very helpful.

Here is a task that I'm thin you are looking for:

<pathtofileset pathrefid="struts.jars" dir="/" name="filesetName" />

Then you can use that filesetName as the fileset you want to copy.

You'll need to download the ant-contrib tasks:

and then in your build file you must declare those ant-contrib tasks so you
can use them so you declare them at the top of your build file like this:

<taskdef resource="net/sf/antcontrib/">
    <pathelement location="/usr/share/java/lib/ant-contrib-0.3.jar"/>

I hope this helps.

~ Doug Daniels

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

View raw message