ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aronszajn, Mark" <maron...@fhcrc.org>
Subject RE: like to know the syntax for using replacetoken, replacevalue & CD ATA
Date Tue, 04 Sep 2001 22:44:21 GMT
Thanks for responding, Diane.  I wasn't clear enough on this one...  I mean,
if one DOES use the replacetoken/replacevalue tags in order to specify
what's to be replaced by what, what is the syntax for the use of THOSE tags?

I'm basically interested in getting a bunch of replacements done with a
single replace task, so I was interested in the examples that use
replacetoken/replacevalue as imbedded tags, but (as far as I've seen) the
manual only gives examples using
	"<![CDATA[...]]>"
inside the tags to specify the thing to be replaced...

Thanks in advance,

Mark

-----Original Message-----
From: Diane Holt [mailto:holtdl@yahoo.com]
Sent: Tuesday, September 04, 2001 11:34 AM
To: ant-user@jakarta.apache.org
Subject: Re: like to know the syntax for using replacetoken,
replacevalue & CD ATA 


--- "Aronszajn, Mark" <maronsza@fhcrc.org> wrote:
> Are we supposed to infer that you always have to use
> "<![CDATA[....]]>" inside a replacetoken tag?  Is that the only way to
> specify the token to be replaced?  Same questions regarding the
> syntax/use of replacevalue tags...

Nope. You can also do:

<replace file="foo.txt" token=":" value=";"/>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Mime
View raw message