ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandu" <cha...@translogicsys.com>
Subject Commenting sql statments - required support from Ant
Date Fri, 09 Apr 2004 12:00:55 GMT
Hi all,

I am executing an sql file as follows:

<sql userid="${USERNAME}" password="${PASSWORD}" url="${CONNECTSTRING}" driver="${DRIVER}"

autocommit="true" src="mysql-dump.sql">
</sql>

With the above snippet of code I tried to execute a mysql dump file. It gave an sql fail error.
Ant ignores 
lines starting with -- or // or REM words. But mysql dump file contains # as comments. Now
I wanted to
tell the ant that "ignore the lines starting with this particular character or word". Is there
any way to do?

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