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 -> Ant build.xml with Eclipse - Class Not Found: JDBC driver

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

From: Anush <iamanush_at_gmail.com>
Date: 13 Feb 2007 15:43:20 -0800
Message-ID: <1171410200.724979.260720@l53g2000cwa.googlegroups.com>


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.

Received on Tue Feb 13 2007 - 17:43:20 CST

Original text of this message

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