Hi,
When I ran bin/build.sh junit from ${OJB_HOME}, I got the following
errors(I have enclosed only that portion of the messages constituting
errors),
[torque-create-db] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package
[sql] Executing file:
/tmp_mnt/home/raog0000/jakarta-ojb-0.9.7/target/src/sql/create-db.sql
[sql] Failed to execute: ECHO Not implemented
[sql] java.sql.SQLException: Unexpected token: 37000 Unexpected
token: ECHO in statement [ECHO Not implemented]
[sql] 0 of 1 SQL statements executed successfully
project-datasql-classpath:
[echo] +-----------------------------------------------+
[echo] | |
[echo] | Generating SQL from data XML ! |
[echo] | enJoy! |
[echo] | |
[echo] +-----------------------------------------------+
[echo] taking build.properties from: build.properties
[torque-datasql] Using contextProperties file:
/tmp_mnt/home/raog0000/jakarta-ojb-0.9.7/build.properties
[torque-datasql] Using classpath
[torque-datasql] Generating to file
/tmp_mnt/home/raog0000/jakarta-ojb-0.9.7/target/src/sql/ojbtest-data.sql
[torque-datasql] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package
[torque-datasql] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package
[torque-datasql] Resolver: used
/tmp_mnt/home/raog0000/jakarta-ojb-0.9.7/src/schema/ojbtest-data.dtd
[torque-datasql] Error Line: 128 Row: 11 Msg: The content of element type
"dataset" must match
(Article*,Books*,Cds*,ProductGroup*,OrderPosition*,Tree*,Treegroup*,AbTable*,Product*,Person*,
oject*,Task*,PersonProject*,FamilyMember*,LockedByVersion*,Lock>mail
[EMAIL PROTECTED]
junit-no-compile-no-prepare:
[junit] Running org.apache.ojb.broker.AllTests
[junit] [BOOT] INFO: OJB.properties:
file:/tmp_mnt/home/raog0000/jakarta-ojb-0.9.7/target/test/ojb/OJB.properties
[junit] Tests run: 124, Failures: 23, Errors: 99, Time elapsed: 8.576
sec
[junit] TEST org.apache.ojb.broker.AllTests FAILED
[junit] Running org.apache.ojb.odmg.AllTests
[junit] [BOOT] INFO: OJB.properties:
file:/tmp_mnt/home/raog0000/jakarta-ojb-0.9.7/target/test/ojb/OJB.properties
[junit] Tests run: 128, Failures: 14, Errors: 110, Time elapsed: 14.661
sec
[junit] TEST org.apache.ojb.odmg.AllTests FAILED
[junit] Running org.apache.ojb.soda.AllTests
[junit] [BOOT] INFO: OJB.properties:
file:/tmp_mnt/home/raog0000/jakarta-ojb-0.9.7/target/test/ojb/OJB.properties
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 2.375 sec
[junit] TEST org.apache.ojb.soda.AllTests FAILED
Thanks for yout help,
Ganesh .
"Thomas Mahler"
<[EMAIL PROTECTED]>
To: "OJB Users List"
08-Nov-2002 02:10
Please respond to cc:
"OJB Users List" Subject: Re: Installation help
<[EMAIL PROTECTED]
pache.org>
Hi Ganesh,
[EMAIL PROTECTED] wrote:
> Hello
>
> I am trying to run bin/build.sh junit ends up reporting that 23
> testcases have failed. So does it mean that OJB has regressions???.
Please
> could somebody help me with this.
Release 0.9.7 ships with 0 failing testcases.
So I assume you have some setup / configuration problem.
please post the test run results (target/test/tests-*.txt) to see more
details.
cheers,
Thomas
>
> Thanks,
> Ganesh
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>