ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: replace task not working?
Date Sat, 09 Dec 2000 06:40:59 GMT
on 12/8/2000 10:38 PM, "Jon Stevens" <jon@latchkey.com> wrote:

> right, but the problem is that i need to embed cdata into there. :-)

nevermind...this worked...

        <replace file="${tdk.dist}/conf/server.xml">
            <replacetoken><![CDATA[</ContextManager>]]></replacetoken>
            <replacevalue>
                <![CDATA[<Context path="/" docBase="webapps/site">
                </Context>
                </ContextManager>]]>
            </replacevalue>
        </replace>

-jon

-- 
Honk if you love peace and quiet.



Mime
View raw message