<[EMAIL PROTECTED]>
To: Ant Users List
Sent: Monday, November 17, 2008 4:02:08 AM
Subject: Re: ANT replaceregexp problem
Your XML file specifies the char encoding being used (UTF-8), but I'm
guessing that the replaceregexp task won't understand this, since it's not
XML-aware
Your XML file specifies the char encoding being used (UTF-8), but I'm
guessing that the replaceregexp task won't understand this, since it's not
XML-aware. So your replacement string may be getting written out using
another encoding - most likely your default environment encoding.
Try setting -Dfi
Hi,
I am seeing a weird problem of using replaceregexp in ANT.
Basically, for the non-English characters, they are updated even though they
are not matched by the regular expression.
The following is my original input:
- --
file://loca
Hi,
Jeffrey E Care wrote:
> Play around with the @flags & @byline; I think those will be able to solve
> your problem.
>
yup =
did it.
Thanks !!
bye4now, Gilbert
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Play around with the @flags & @byline; I think those will be able to solve
your problem.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Gilbert Rebhan <[EMAIL PROTECTED]> wrote on 10/18/2005 01:41:02 PM:
> Hi,
>
> i want to
Hi,
i want to change one line in a txtfile.
1. if txtfile is like =
foo=bar
bla=bla
works as it should, gives me =
foo=bar
bla=bla:123456
2. but if txtfile is like =
foo=bar
bla=bla
foobar=foobar
means the line to be altered is not the last line
my snippet above gives me =
fo
Thanks Chad, that did the trick perfectly!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Fri, July 22, 2005 2:43 pm, Chad Armstrong said:
> Hi Frank,
> The * looks a little weird below in the "match" string, * means 0 or
> more of the
On Fri, 22 Jul 2005 14:36:22 -0400 (EDT), Frank W. Zammetti wrote:
regex != glob ==> s/*/.*/
>Hi all... having some trouble getting a regex replace to work... I have a
>JSP which contains the following line:
>Version 3.0Build
>306301/01/2005
>I have a task in my build script like so:
>match="<
Hi Frank,
The * looks a little weird below in the "match" string, * means 0 or
more of the preceding character, which I don't think is what you want.
Try it with .* instead and see if that helps.
Chad
On 7/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hi all... having some trouble getti
Hi all... having some trouble getting a regex replace to work... I have a
JSP which contains the following line:
Version 3.0Build
306301/01/2005
I have a task in my build script like so:
But, nothing is getting replaced. The file exists and is found, and all
the properties are properly define
10 matches
Mail list logo