Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 37423 invoked from network); 17 Feb 2001 02:27:48 -0000 Received: from 64-60-55-91-cust.telepacific.net (HELO ahammond.answerfriend.com) (64.60.55.91) by h31.sny.collab.net with SMTP; 17 Feb 2001 02:27:48 -0000 Received: from answerfriend.com (IDENT:ahammond@localhost.localdomain [127.0.0.1]) by ahammond.answerfriend.com (8.9.3/8.9.3) with ESMTP id TAA07941 for ; Fri, 16 Feb 2001 19:10:29 -0800 From: ahammond@answerfriend.com Sender: ahammond@ahammond.answerfriend.com Message-ID: <3A8DEBA5.923AB242@answerfriend.com> Date: Fri, 16 Feb 2001 19:10:29 -0800 X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: Filters in ant References: Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N You have misspelled it. It is spelled "filtersfile". You forgot the s. andy. "Lin, Frank" wrote: > Thank you for you answer, andy. But do you or anyone know the filterfile > problem. > I got this error when I used it: > BUILD FAILED > > D:\temp\build.xml:17: Class org.apache.tools.ant.taskdefs.Filter doesn't > support the "filterfile" attribute > > > > > > > Frank > > -----Original Message----- > From: ahammond@answerfriend.com [mailto:ahammond@answerfriend.com] > Sent: February 16, 2001 5:30 PM > To: ant-user@jakarta.apache.org > Subject: Re: Filters in ant > > You must set filtering="yes" attribute in the copy task... it is defaulted > to > no. > > andy. > > "Lin, Frank" wrote: > > > Hi, > > > > Does anyone know how to use filter in Ant? I used the token and value > > pair, but it did not replace the token > > > > > > > > > > > > > > test.file: > > year > > @year@ > > > > Also, the filterfile was not supported either. > > Class org.apache.tools.ant.taskdefs.Filter doesn't support the > "filterfile" > > attribute > > > > Thanks > > > > Frank