Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Ant build.xml with Eclipse - Class Not Found: JDBC driver

Re: Ant build.xml with Eclipse - Class Not Found: JDBC driver

From: Anoop <anoopkumarv_at_gmail.com>
Date: 14 Feb 2007 20:26:49 -0800
Message-ID: <1171513609.761758.32700@m58g2000cwm.googlegroups.com>


On Feb 13, 6:43 pm, "Anush" <iaman..._at_gmail.com> wrote:
> Hi - I have a build.xml to test a sql connection to my db box using
> ant. i added the ojjdbc14.jar and classes12.jar to my build path and i
> can see it copied into my lib dir. still i get the error. Can anyone
> help. Need this to progress to next step.
>
> <sql userid="${bookstore.user}" password="${bookstore.password}"
> driver="${bookstore.driver}" url="$
> {bookstore.url}">
> <classpath refid="test.classpath" />
> ;
> </sql>
>
> i used to echo to print out all the variables above and all seems
> right..
>
> bookstore.drive=oracle.jdbc.driver.OracleDriver
> bookstore.url=jdbc:oracle:thin:@<host>:<port>:<instance>
>
> Thanks in advance for the help.
>
> -- Anush

For one this is not the right forum. your question needs to be redirected to a Java group or an ant group if it exists.

Secondly.. you might have a typo when / where you define your properties:
bookstore.drive and bookstore.driver.... Received on Wed Feb 14 2007 - 22:26:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US