ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nagarajan Murugesan <NMURUGE...@Selectica.com>
Subject RE:Problem with the replacewregexp - Basic Ant Question ?? :-))
Date Thu, 11 Dec 2003 06:16:27 GMT
Hi All,

I have tried with replaceregexp . But it throws some error that

C:/eclipse/workspace/DealSql/sqlrun.xml:20: No supported regular expression
matcher found

this is my task

<replaceregexp file="C:/runant.txt" match="/n" replace="asdf" byline="true"
flags="g"/>

can any one help me out to solve this????

Thanks,
Nagarajan

-----Original Message-----
From: Manuel Mall [mailto:MM@arcus.com.au]
Sent: Thursday, December 11, 2003 11:42 AM
To: 'Ant Users List'
Subject: RE: Basic Ant Question ?? :-))


Try the ReplaceRegExpr task

Manuel

-----Original Message-----
...
I need a sample ant script to replace 'new line character' with some
string
in a text file or so.
...

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message