db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Novak <hno...@repcom.de>
Subject Problems with sdk 5/6 and ojb blank
Date Wed, 29 Aug 2007 12:52:02 GMT
Hi,

i need help to run the ojb_blank projekt.
If i configure it like the tutorial says, i get in eclipse some errors:
first, i get a lot of errors like this:


[ojbdoclet] 2007-08-29 13:35:28,017 [main] INFO  
xdoclet.XDocletMain.start - Running <ojbrepository/>
[ojbdoclet] Error parsing File 
/home/hnovak/eclipse-workspace/osfaktura/src/java/AfterBuyImport.java:Lexical 
error: xjavadoc.TokenMgrError: Lexical error at line 11, column 1.  
Encountered: "@" (64), after : ""
[ojbdoclet] Error parsing File 
/home/hnovak/eclipse-workspace/osfaktura/src/java/de/repcom/osfaktura/core/partner/Partner.java:Encountered

"<" at line 255, column 22.
[ojbdoclet] Was expecting one of:
[ojbdoclet]     <IDENTIFIER> ...
[ojbdoclet]     "[" ...
[ojbdoclet]     "." ...
[ojbdoclet]     "(" ...


at the line 255 in Partner.java is Collection<Task> col ...
It sounds like, that it can recognize the Java 5/6 notation.
Then i get these errors:


shutdown-check:
append-shutdown-sql:
     [echo]
     [echo]       Executing the create-db.sql script ...
     [echo]    
      [sql] Executing resource: 
/home/hnovak/eclipse-workspace/osfaktura/build/database/create-db.sql
      [sql] Failed to execute:  ECHO Not implemented 
      [sql] java.sql.SQLException: Unexpected token: ECHO in statement [ 
ECHO]
      [sql] 1 of 2 SQL statements executed successfully
insert-sql:
shutdown-check:
add-shutdown-sql-file:
[torque-sql-exec] Our new url -> jdbc:hsqldb:build/database/ojb_blank
[torque-sql-exec] Executing file: 
/home/hnovak/eclipse-workspace/osfaktura/build/database/project-schema.sql
[torque-sql-exec] Failed to execute: drop table PARTNER if exists;  ... 
(SNIP REST OUT) ...
[torque-sql-exec] Executing file: 
/home/hnovak/eclipse-workspace/osfaktura/build/database/ojbcore-schema.sql
[torque-sql-exec] Executing file: 
/home/hnovak/eclipse-workspace/osfaktura/build/database/shutdown.sql
[torque-sql-exec] 2 of 3 SQL statements executed successfully
BUILD SUCCESSFUL
Total time: 6 seconds


Hans

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message