Thanks Steve,

I am just using a blank space for begintoken/endtoken. It works fine.

Latchoumi 

-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 06, 2007 6:29 AM
To: Ant Users List
Subject: Re: Problem in copy task with filtering

Narayanan, Latchoumi wrote:
> 
> Hi all,
> 
> In my build script I am using,
> 
> <copy file="${webapp.home}/WEB-INF/web.xml"
> toFile="${build.root}/WEB-INF/web.xml"
>                                  filtering="on" overwrite="true">
>   <filterset>
>        <filter token="spoofFilter" value="permissionFilter"/>
>   </filterset>
> </copy>
> 
> This code is copying the web.xml file, but not replacing the word 
> "spoofFilter" with "permissionFilter" as I am trying to do, Can 
> someone tell me what I am doing wrong here.

tokens have a prefix around them, something like @spoofFilter@ ; you can
change the values with the begintoken/endtoken attributes,

-steve

---------------------------------------------------------------------
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]

Reply via email to