Thread: RE: [OJB-developers] cant' build target junit
Brought to you by:
thma
|
From: <tr...@th...> - 2002-05-11 21:14:23
|
is this the .400 download? The directory structure in this download seems to have changed and messed things up. I would get the .375 download.
Travis
---- Original Message ----
From: Jakob Braeuchi <jbr...@ho...>
Sent: 2002-05-11
To: obj...@li...
Subject: [OJB-developers] cant' build target junit
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
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: ban...@so...
_______________________________________________
Objectbridge-developers mailing list
Obj...@li...
https://lists.sourceforge.net/lists/listinfo/objectbridge-developers
|
|
From: Jakob B. <jbr...@ho...> - 2002-05-12 19:21:26
|
hi travis, yes this is the .400 download and new stuff from cvs. i'll try to run the ant scripts from eclipse, junit already works fine. jakob ----- Original Message ----- From: <tr...@th...> To: <obj...@li...> Sent: Saturday, May 11, 2002 11:08 PM Subject: RE: [OJB-developers] cant' build target junit > is this the .400 download? The directory structure in this download seems to have changed and messed things up. I would get the .375 download. > > Travis > > ---- Original Message ---- > From: Jakob Braeuchi <jbr...@ho...> > Sent: 2002-05-11 > To: obj...@li... > Subject: [OJB-developers] cant' build target junit > > 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 > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > |
|
From: Jakob B. <jbr...@ho...> - 2002-05-13 06:28:35
|
hi travis, same problems with the ant script under eclipse. i think the problem comes from the changes made in revision 1.19 - use ant's junit task before junit was started with junit.textui.TestRunner i'm not an ant specialist, but has anybody run this script successfully ? jakob ----- Original Message ----- From: "Jakob Braeuchi" <jbr...@ho...> To: <tr...@th...>; <obj...@li...> Sent: Sunday, May 12, 2002 5:55 PM Subject: Re: [OJB-developers] cant' build target junit > hi travis, > > yes this is the .400 download and new stuff from cvs. > i'll try to run the ant scripts from eclipse, junit already works fine. > > jakob > > ----- Original Message ----- > From: <tr...@th...> > To: <obj...@li...> > Sent: Saturday, May 11, 2002 11:08 PM > Subject: RE: [OJB-developers] cant' build target junit > > > > is this the .400 download? The directory structure in this download seems > to have changed and messed things up. I would get the .375 download. > > > > Travis > > > > ---- Original Message ---- > > From: Jakob Braeuchi <jbr...@ho...> > > Sent: 2002-05-11 > > To: obj...@li... > > Subject: [OJB-developers] cant' build target junit > > > > 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 > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > > the hardware. You get the recognition. Email Us: ban...@so... > > _______________________________________________ > > Objectbridge-developers mailing list > > Obj...@li... > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > > the hardware. You get the recognition. Email Us: ban...@so... > > _______________________________________________ > > Objectbridge-developers mailing list > > Obj...@li... > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > |
|
From: Jakob B. <jbr...@ho...> - 2002-05-13 07:45:17
|
hi, the ant-optional library was missing, i added it to the cvs. jakob ----- Original Message ----- From: "Jakob Braeuchi" <jbr...@ho...> To: <tr...@th...>; <obj...@li...> Sent: Monday, May 13, 2002 8:28 AM Subject: Re: [OJB-developers] cant' build target junit > hi travis, > > same problems with the ant script under eclipse. > i think the problem comes from the changes made in revision 1.19 > > - use ant's junit task > > before junit was started with junit.textui.TestRunner > > i'm not an ant specialist, but has anybody run this script successfully ? > > jakob > > > ----- Original Message ----- > From: "Jakob Braeuchi" <jbr...@ho...> > To: <tr...@th...>; > <obj...@li...> > Sent: Sunday, May 12, 2002 5:55 PM > Subject: Re: [OJB-developers] cant' build target junit > > > > hi travis, > > > > yes this is the .400 download and new stuff from cvs. > > i'll try to run the ant scripts from eclipse, junit already works fine. > > > > jakob > > > > ----- Original Message ----- > > From: <tr...@th...> > > To: <obj...@li...> > > Sent: Saturday, May 11, 2002 11:08 PM > > Subject: RE: [OJB-developers] cant' build target junit > > > > > > > is this the .400 download? The directory structure in this download > seems > > to have changed and messed things up. I would get the .375 download. > > > > > > Travis > > > > > > ---- Original Message ---- > > > From: Jakob Braeuchi <jbr...@ho...> > > > Sent: 2002-05-11 > > > To: obj...@li... > > > Subject: [OJB-developers] cant' build target junit > > > > > > 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 > > > > > > _______________________________________________________________ > > > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > supply > > > the hardware. You get the recognition. Email Us: > ban...@so... > > > _______________________________________________ > > > Objectbridge-developers mailing list > > > Obj...@li... > > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > > > > > > > > > _______________________________________________________________ > > > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > supply > > > the hardware. You get the recognition. Email Us: > ban...@so... > > > _______________________________________________ > > > Objectbridge-developers mailing list > > > Obj...@li... > > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > > the hardware. You get the recognition. Email Us: ban...@so... > > _______________________________________________ > > Objectbridge-developers mailing list > > Obj...@li... > > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers > |