You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Martin <mg...@hotmail.com> on 2002/08/25 22:56:15 UTC

Re: Classpath not found using sql task

David-
Classpath should include this location

<path id="classpath">
<pathelement location="${jdev.home}/jdbc/lib/classes12.jar"/>
...
</path>
-Martin

----- Original Message -----
From: "Steve Loughran" <st...@iseran.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Tuesday, February 18, 2003 7:08 PM
Subject: Re: Classpath not found using sql task


> what happens when you rename the .zip file .jar?
> ----- Original Message -----
> From: "ALIA-SC, David" <Da...@AirLiquide.com>
> To: "Ant Users List" <an...@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
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>