Hi there:

I am trying to use Torque to create the test tables in my database using ant 
prepare-testdb. However I keep getting the message that my database driver cannot be 
found. I have modified build.xml to use mssqldb.profile in the profile directory. In 
my profile file I have specified the connection details (I know these are correct as I 
have tested them in a simple Java class) and I have copied my database driver .jar 
file to the lib directory under my OJB root. However I continue to get this message 
when trying the build:

BUILD FAILED
C:\db-ojb-1.0.rc6\build.xml:349: Following error occured while executing this li
ne
C:\db-ojb-1.0.rc6\build-torque.xml:329: Class Not Found: JDBC driver com.inet.td
s.TdsDriver could not be loaded

I have even modified build-torque.xml to specifically pull in my jar file as follows:

<path id="torque-classpath">
<fileset dir="${torque.lib.dir}">
....
<include name="**/JdbcClasses.jar"/>
...

but I still get the same message :( Anybody have any ideas?

Thanks in advance.
Fiona

Reply via email to