[OJB-developers] cant' build target junit
Brought to you by:
thma
From: Jakob B. <jbr...@ho...> - 2002-05-11 09:30:16
|
hi, i'm using the current version from repository, and i can no longer run the junit-testcases from the console: D:\Java\eclipse_0502\workspace\ojb-1-0>build junit Buildfile: build.xml init: prepare: main: [javac] Compiling 7 source files to D:\Java\eclipse_0502\workspace\ojb-1-0\target\classes prepare-tests: [copy] Copying 1 file to D:\Java\eclipse_0502\workspace\ojb-1-0\target\src\test\setup tests: [echo] using switches: -HSQLDB, -ORACLE, -MS_ACCESS, -INSTANTDB, -DB2, -POSTGRESQL, +MYSQL, -INFORMIX, -MSSQLSERVER 2000 [java] . [move] Moving 1 files to D:\Java\eclipse_0502\workspace\ojb-1-0\target\src\test\setup [copy] Copying 1 file to D:\Java\eclipse_0502\workspace\ojb-1-0\target\test\setup [delete] Deleting: D:\Java\eclipse_0502\workspace\ojb-1-0\target\src\test\setup\database-setup. sql [java] [BOOT] INFO: process db-setup.sql [java] [BOOT] INFO: DB url: jdbc:mysql://localhost/ojbtest [java] [BOOT] INFO: Driver: Mark Matthews' MySQL Driver [java] [BOOT] INFO: Version: 2.0.13 junit: BUILD FAILED D:\Java\eclipse_0502\workspace\ojb-1-0\build.xml:456: Could not create task of type: junit. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME). Total time: 6 seconds thanks jakob |