ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aronszajn, Mark" <>
Subject RE: like to know the syntax for using replacetoken, replacevalue & CD ATA
Date Wed, 05 Sep 2001 02:53:47 GMT
Oh, I see.  I'd looked at using replacefilter tags, but it didn't sink in on
first read that a property file isn't required for the use of replacefilter
tags, only when you a replacefilter tag is used with a property attribute.
So replacefilter tags can be used w/out reference to any property file to do
just what I wanted.



-----Original Message-----
From: Diane Holt []
Sent: Tuesday, September 04, 2001 5:04 PM
Subject: RE: like to know the syntax for using replacetoken,
replacevalue & CD ATA 

--- "Aronszajn, Mark" <> wrote:
> 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...

Well, you don't need the CDATA part, if that's what you mean -- you can
just do:
      <replacevalue>apples and oranges</replacevalue>

I guess I'm not sure what you're looking to do -- do you actually have
multi-line replaces you need to do?  If you just have a number of replaces
you need to do, you can just use the nested <replacefilter>, yes?



Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger

View raw message