Can you escape the ~ with a backslash, just an idea, haven't tried it... -----Original Message----- From: Jens Askengren [mailto:[EMAIL PROTECTED]] Sent: 25 February 2002 09:10 To: [EMAIL PROTECTED] Subject: Matching ~ in fileset
I use the following tags to remove temporary files created by editors: <delete> <fileset dir="."> <include name="**/*.bak"/> <include name="**/*.*~"/> </fileset> </delete> File.bak gets deleted but not File.java~ Does ~ has a special function in the globbing expression, or is this simply a bug? -- Jens Askengren Teknik i Media Sverige AB (publ) Address: Södra förstadsgatan 2, SE-211 34 Malmö, Sweden Tel: +46 40 601 57 00 (vx) Mobile: +46 704 20 57 17 Fax: +46 40 601 57 99 http://www.tim.se DISCLAIMER: "The information contained in this email and any attachment is confidential. It is intended only for the named addressee(s). If you are not the named addressee please notify the sender immediately and do not disclose, copy or distribute the contents to any other person other than the intended addressee(s)." -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>