I used something like below,
This seems to work fine.
Thanks,
Kannan
Kannan Ekanath wrote:
Hi,
ANT - 1.6.5
I am trying to execute the following command line from ANT
"D:\>mysql -u root -pwelcome --database=warranty <
target/create-schema.sql"
Basically the create-schema sql file has to be loaded using mysql
command. I
understand that there is a problem with "
Can't you just specify the filename without redirection? Is there a
commandline option to specific the sql to execute? If not. look at the
exec tasks I/O redirector.
On 6/15/07, Kannan Ekanath <[EMAIL PROTECTED]> wrote:
Hi,
ANT - 1.6.5
I am trying to execute the following command line from ANT
"
Hi,
ANT - 1.6.5
I am trying to execute the following command line from ANT
"D:\>mysql -u root -pwelcome --database=warranty < target/create-schema.sql"
Basically the create-schema sql file has to be loaded using mysql command. I
understand that there is a problem with "<" symbol in ant command li