ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonese <gig...@gmail.com>
Subject Am i doing this right RE: ReplaceRegExp
Date Tue, 12 Feb 2008 17:50:27 GMT
I have a simple build file and i'm trying to change some text in a .SQL file.

in my build file i have the following target
<target name="sql-gen-schema-file" description="generates the file
which creates tables, views etc">
<replaceregexp file="DB/MS SQL
${db.server.version}/boomsocket_MSSQL_${db.server.version}.sql"
	match="\[[a-zA-Z0-1]{1,}\]"
	replace="[${db.name}]"
	flags="i" />
</target>

I know the regex is good but every time i run it nothing happens to my
.SQL file.

am i missing something?

Running ant 1.7.x on Windows XP Pro

eric

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


Mime
View raw message