DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14315>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14315

Core Ant task : Replace: non-performant

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2002-11-07 15:19 -------
The real problem is the misleading "2 occurences" which is now fixed in CVS.

The reason why replace doesn't do anything are the spaces in front of the 
closing
</replacetoken> which become part of your token (and therefore your token
doesn't get matched at all).

Try

<replace file="${root}\utilwar\webApplication\WEB-INF\web.xml" summary="yes"> 
    <replacetoken><![CDATA[<!--load-on-startup>-1</load-on-startup--
>]]></replacetoken>
    
<replacevalue><![CDATA[<load-on-startup>-1</load-on-startup>]]></replacevalue>
</replace>

instead.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to