ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caleandro" <kalosand...@katamail.com>
Subject Ant-sql task in rel 1.7.0
Date Tue, 19 Dec 2006 13:29:06 GMT
Hi all,

Please, I need help about ant <sql> task.
A script like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="ANT-SQL Test " basedir="." default="all">
 <tstamp />
  <target name="all" depends="provasql"/>
  <target name="provasql">
   <sql  driver="oracle.jdbc.driver.OracleDriver"
    url="jdbc:oracle:thin:@lnx02svim:1521:svilpdd"
    userid="myuserid"
    password="mypswd"
    print="true"
    autocommit="true"
    output="d:\myresultDir\resultset.txt"
    classpath="d:\LibsDir\classes12.jar">
      Select * from SCHEMA1.Table01;
   </sql>
  </target>
</project>

runs correctly (as is) in ant 1.6.5 but in 1.7.0 it seem to hang-up and loop
indefinitely
till I type a break key on keyboard.
Oracle(9i) server console does not signal any query or activity apart my
connection.

Where could be the problem?

Thanks to anyone for some suggestion.

Vito


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


Mime
View raw message