ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kannan Ekanath" <kannan.ekan...@gmail.com>
Subject Re: Unable to execute a command mysql with a < symbol
Date Fri, 15 Jun 2007 12:07:07 GMT
I used something like below,

<target name="execute.schema.script">
        <echo message="Executing schema script..." />
        <exec executable="mysql">
            <arg line="--user=root --password=welcome --database=${
jdbc.database}" />
            <redirector input="target/create-schema.sql"></redirector>
        </exec>
    </target>

This seems to work fine.

Thanks,
Kannan

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