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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to