ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: Am i doing this right RE: ReplaceRegExp
Date Tue, 12 Feb 2008 18:03:22 GMT
Are you sure the reg ex is working?  If not, nothing will be changed in 
the file...

Can you send the sql file or some snippet of it?


jonese wrote:
> 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
>
>
>   

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros


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


Mime
View raw message