Re: Unable to execute a command mysql with a < symbol

2007-06-15 Thread Kannan Ekanath
I used something like below, This seems to work fine. Thanks, Kannan

Re: Unable to execute a command mysql with a < symbol

2007-06-15 Thread Steve Loughran
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 "

Re: Unable to execute a command mysql with a < symbol

2007-06-14 Thread Chris Velevitch
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 "

Unable to execute a command mysql with a < symbol

2007-06-14 Thread Kannan Ekanath
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