ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandu" <cha...@translogicsys.com>
Subject Re: Commenting sql statments - required support from Ant
Date Wed, 14 Apr 2004 07:17:46 GMT
It seems nobody has the answer!!! right?

----- Original Message ----- 
From: "Chandu" <chandu@translogicsys.com>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Friday, April 09, 2004 5:30 PM
Subject: Commenting sql statments - required support from Ant


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.


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


Mime
View raw message