Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Ant build.xml with Eclipse - Class Not Found: JDBC driver
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
![]() |
![]() |