ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Classpath not found using sql task
Date Tue, 18 Feb 2003 23:08:28 GMT
what happens when you rename the .zip file .jar?
----- Original Message ----- 
From: "ALIA-SC, David" <David.ALIA-SC@AirLiquide.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Tuesday, February 18, 2003 10:07
Subject: Classpath not found using sql task


> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

Mime
View raw message