Hello Stefan, I actually meant that mappers inside filesets would rename files in the filesets. I need something like:
<fileset id="client.fileset"> <fileset dir="build/docs" prefix="wwwroot/docs"/> <fileset dir="build/lib1" prefix="subproduct1/lib"/> <fileset dir="dev_docs/client_readme.txt" path="readme.txt"/> <fileset dir="dev_docs/docs" includes="**/*.client.html"> <mapper type="glob" from="*.client.html" to="*.html"/> </fileset> <fileset refid="component1.client-fs"/> </fileset> Right now I have to execute <copy> every time I need a complex fileset. - Alexey. -- { http://trelony.cjb.net/ } Alexey N. Solofnenko Pleasant Hill, CA (GMT-8 usually) -----Original Message----- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 7:22 AM To: [EMAIL PROTECTED] Subject: Re: Any chance for fileset arithmetic? On Fri, 25 Jul 2003, Alexey Solofnenko <[EMAIL PROTECTED]> wrote: > Would it be possible to add fileset joining, subtraction, This is already possible, if you use selectors instead of include/exclude children. > file renaming/mapping Every time anybody proposes to allow nested <mapper>s in <fileset>, they seem to mean something different. What should <fileset dir="." includes="**/*.java"> <mapper type="glob" from="*.java" to="*.class"/> </fileset> be? A set of the (potentially non-existant) files that I get when I replace .java with .class in the names of the existing files? A set of the (potentially non-existant) files that I get when I replace .java with .class in the names of the existing files, but only those that really do not exist or are older than the corresponding class files? Something else? > and selectors into fileset itself? Are there since selectors are part of Ant. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]