ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject Re: SQLExec Class usage
Date Mon, 15 Mar 2004 13:16:56 GMT
Ashish Bharti wrote:

>Hello,
>
>I am trying to run any .sql script provided, through Java, for which i am
>using the SQLExec class.I am passing all parameters through Java and dont
>want to use any config.build file
>
>Cant get any information regarding the same on the mail-list.Guess I am not
>able to set the classpath correctly.
>
>Would Appreciate any help ! Please CC any suggestions to my ID.
>
>The program is attached below...[I have deleted the irrelavent portion... so
>might not compile...]
>
>  
>
add sqlExec.setProject(p);

You get your null pointer exception when the task attempts to log.

Cheers,

Antoine


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


Mime
View raw message