ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Commenting sql statments - required support from Ant
Date Wed, 14 Apr 2004 15:51:37 GMT
With the keepformat attribute set to true, the database will decide what is or isn't a comment.

-Rob Anderson

> -----Original Message-----
> From: Chandu [mailto:chandu@translogicsys.com]
> Sent: Wednesday, April 14, 2004 12:18 AM
> To: Ant Users List
> Subject: Re: Commenting sql statments - required support from Ant
> 
> 
> 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
> 
> 
> 


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


Mime
View raw message