>I'd like to convert a path to a fileset. I need it to use in "copy" task.
One way is to use a "stomp" program to compose the XML file. Then you
can specify the path once and generate duplicate info in the ANT
script.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green a écrit :
>> I'd like to convert a path to a fileset. I need it to use in "copy" task.
> One way is to use a "stomp" program to compose the XML file. Then you
> can specify the path once and generate duplicate info in the ANT
> script.
It seems heavy. I would prefer a simple trick. In last resort, i will
duplicate the paths in the ant file "by hands".
Kaiser S. - 30 Jul 2007 13:00 GMT
Kaiser S. a écrit :
> Roedy Green a écrit :
>>> I'd like to convert a path to a fileset. I need it to use in "copy"
[quoted text clipped - 5 lines]
> It seems heavy. I would prefer a simple trick. In last resort, i will
> duplicate the paths in the ant file "by hands".
I found in http://ant.apache.org/manual/CoreTasks/copy.html :
<copy todir="dest" flatten="true">
<path refid="classpath" />
</copy>