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
<filter filterfile="test.properties" />
<copy todir="./test" filtering="yes" >
<fileset dir="." includes="test.file" />
</copy>
Frank
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: February 16, 2001 5:30 PM
To: [EMAIL PROTECTED]
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
>
> <filter token="year" value="2000" />
> <copy todir="./test" >
> <fileset dir="." includes="test.file" />
> </copy>
>
> 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
- Filters in ant Lin, Frank
- Re: Filters in ant ahammond
- Re: Filters in ant Lin, Frank
- Re: Filters in ant ahammond
- Can I change failonerror's default? ahammond
- RE: Filters in ant Lin, Frank
- Re: Filters in ant Conor MacNeill
- getting 1.3 beta G.L. Grobe
- Re: getting 1.3 beta Stephane Bailliez
- Re: getting 1.3 beta Nico Seessle
