Use replaceregexp task with replacing < by < and > by >
Raja Nagendra Kumar wrote:
>
> Use replace task
>
> token="ANT_TOKEN_IMAGES_ROOT_DIR"
>value="${IMAGES_ROOT}"/>
>
> Regards,
> Nagendra
>
--
View this message in c
Use replace task
Regards,
Nagendra
--
View this message in context:
http://www.nabble.com/Replace-string-in-file-tp17187373p17281195.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsu
>
> Thanks.
>
> -Original Message-
> From: David Weintraub [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 13, 2008 8:27 PM
> To: Ant Users List
> Subject: Re: Replace string in file
>
> What type of replacement? You can do a filter on strings lik
Users List
Subject: Re: Replace string in file
What type of replacement? You can do a filter on strings like @VERSION@,
@DATE@, @FOO@, or whatever you want via filtersets and mappers when you
copy. For example, I have some configuration files.
They're called *.properties.template, and I replace
What type of replacement? You can do a filter on strings like
@VERSION@, @DATE@, @FOO@, or whatever you want via filtersets and
mappers when you copy. For example, I have some configuration files.
They're called *.properties.template, and I replace the @xxx@ strings
with values from a deploy.proper
Have a look at the ReplaceRegExp and Replace tasks
Should be what you are looking for.
-Original Message-
From: Guy Catz [mailto:[EMAIL PROTECTED]
Sent: Monday, May 12, 2008 9:18 AM
To: user@ant.apache.org
Subject: Replace string in file
hey guys,
Is it possible to replace a string in