ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Rzadkowolski <adam.rzadkowol...@axit.pl>
Subject Re: Classpath not found using sql task
Date Wed, 19 Feb 2003 08:19:20 GMT
At 19:07 2003-02-18 +0100, you wrote:
>Hi,
>
>I don't understand why the classpath I use in the sql ant task doesn't
>work...
>Here the code :
>
>         <sql
>                 driver="oracle.jdbc.driver.OracleDriver"
>                 url="${database.jdbc.url}"
>                 userid="${database.jdbc.user}"
>                 password="${database.jdbc.password}"
>                 classpath="c:/jdk1.3.1_02/lib/classes12.zip"
>         >
>
>I get this error message : "Class Not Found: JDBC driver
>"oracle.jdbc.driver.OracleDriver" could not be loaded". Even if I put the
>classes12.zip file into the same directory...
>
>Can somebody help me ?
>
>Thanks
>David

hi
>you have to put classes12.zip into ANT_HOME/lib directory
i am not sure does in case you have described will be aoutjoined
to your classpath.

regards,
Adam


Mime
View raw message