ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin" <mgai...@hotmail.com>
Subject Re: Classpath not found using sql task
Date Sun, 25 Aug 2002 20:56:15 GMT
David-
Classpath should include this location

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

----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
To: "Ant Users List" <user@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" <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
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>

Mime
View raw message