Re: ojb_blank problem
Armin Waibel <[email protected]> Wed, 12 Sep 2007 10:18:58 +0200
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Hans, Hans Novak wrote: > Have you got my mail ? > I sorry to say NO. If your mail had an attachment try without again (the apache server is very restrict in handling attachments). regards, Armin > Hans > > Armin Waibel schrieb: >> Hans Novak wrote: >>> Armin Waibel schrieb: >>>> >>>> Think this is problem caused by xdoclet itself, because the error >>>> starts with >>>> error: xjavadoc.TokenMgrError: >>>> I suppose you need a Java5/6 compatible xdoclet version (xjavadoc). >>> hmmm... where can i get it ? >>> I use under Linux the latest SUN Java SDK with eclipse and the >>> latest ojb_blank, nothing more .. >> >> The xdoclet modules are included in OJB (see [db-ojb]/lib directory). >> >> The (xdoclet,xjavadoc) issue below seems very similar to yours >> http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1601 >> >> You can try the link below to get a xjavadoc-1.5 snapshot (this may >> solve your xjavadoc problem): >> http://prdownloads.sourceforge.net/xdoclet/xjavadoc-1.5-snapshot050611.jar?download >> >> >> >>>> >>>> This error always pop up when using hsql. Simply ignore it. >>> i use mysql - not hsql (i have try it too, but the same error) >>> It looks like, that the sql file will be executed on the command line >>> with bash interpreter (and not something like "mysql -u whatever -p >>> ...< [sql-file]" ) >>>> >>>> Running torque/ddlutils can cause some drop-table error logs at the >>>> first time run, when tables do not exist (running hsql with >>>> in-memory mode this always happens). >>> i understand, but again, i use mysql. >>> >>> There are some things i cant understand: >>> If i run the buildfile with target "create-db" it will try to create >>> the db and creates succsessfull the SQL Files - BUT forgets some XML >>> Files to create/change (sometimes). >>> I must every time run first the target "build" and then the >>> "create-db" - althought create-db depends on build ... !? >>> In other words: >>> if i run the target "create-db" some times, with existing xml Files, >>> these files will not be overwritten, only when i run the "build" target. >>> Ok, this ist not a big problem, but i dont know why. >>> >> >> hmm, sounds like an override issue. Maybe only the "build" task remove >> the old files completely and replace it by new ones. >> >>> >>> The other thing (and for me a much more problem) >>> the ant task forget foreign keys of the classes. >>> I think, there is somewehre a problem in the java File - NOT in ojb / >>> builder, but i dont get any error, something like "a field ist not >>> persistent" or similar. >>> My Java code is very big - i am desperating to find the error in the >>> code, if the ant task dont help me.... >>> >>> >>> Hans >>> >>> p.s. is there a chance to write in german ? (english is very hard to me) >> >> No sweat! Schreib einfach direkt an mich. >> >> regards >> Armin >> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >