Hello Stefan, I think what Dominique means is that there should be a delete capability equivalent to the copy capability. for example...
This copy... <copy todir="${src.dir}" > <fileset dir="${src.dir}"> <present present="srconly" targetdir="${src.dir}"> <mapper type="glob" from="sample.*" to="*" /> </present> </fileset> <mapper type="glob" from="sample.*" to="*" /> </copy> Should be equivalent to this delete... <delete> <fileset dir="${src.dir}"> <present targetdir="${src.dir}"> <mapper type="glob" from="sample.*" to="*" /> </present> </fileset> <mapper type="glob" from="sample.*" to="*" /> </delete> one creates * files from sample.* files and the other deletes * files that have a corresponding sample.* file. Does that help make it clearer? Jake Monday, September 23, 2002, 9:01:21 AM, you wrote: SB> On Mon, 23 Sep 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: >> Shouldn't delete simply take a <mapper>, as does <copy> SB> I don't think so, what would you use it for? Isn't the <present> SB> selector (which accepts a <mapper>) all that is needed (sorry, I SB> haven't followed the thread very closely)? SB> Stefan SB> -- SB> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> SB> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Best regards, Jacob mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>