Hi Peter, Thank you for suggestion, it was right. As consequence I could verify that the -noproxy option is due in other situation as well, like posting an http request via Canoo-WebTest tasks and so on (related Ant 1.7.0RC1 and Java 1.5).
But please, can you explain to me why this, as the Ant manual is very poor about the argument? Thanks, Vito > -----Messaggio originale----- > Da: Peter Reilly [mailto:[EMAIL PROTECTED] > Inviato: martedì 19 dicembre 2006 14.35 > A: Ant Users List > Oggetto: Re: Ant-sql task in rel 1.7.0 > > > Are you using ant 1.7.0RC1 ? > If so, try using ant -noproxy > > Peter > > On 12/19/06, Caleandro <[EMAIL PROTECTED]> wrote: > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]