On Fri, 14 May 2004, Fiona Magner wrote:

> 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?

Try running ant with the -v option to see what the exact problem is (or
with -debug for even more info, but also for lots of output messages).

Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to