You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Thomas Dudziak <to...@first.fhg.de> on 2004/12/06 12:44:57 UTC

Re: OJB

Michael.Sack@iff.fraunhofer.de wrote:

>Hello,
>I'm new in JDO and OJB. I tried to configure the ojb Implementation with 
>Eclipse...but there where several errors. Do i need every jar file in the 
>lib-folder? Can you perhaps describe what i have to do to get ojb working? 
>I also tried to use the tutorial on your hp but i don't kno how to enhance 
>and to generate the schema... I have the following folders...
>  
>
First, you should use the ojb-blank.jar available from the binary 
download section. It contains a ready-to-start project (including 
Eclipse project files) complete with all necessary libraries, XDoclet 
OJB support and an Ant script.
Then, have a look into the Getting Started doc 
(http://db.apache.org/ojb/docu/getting-started.html) which explains the 
various files in the ojb-blank. Also, the tutorial 5 deals with JDO, so 
it should be worth a look.
Finally, in the build.xml of the ojb-blank project there is a sample 
target for enhancing a class (from tutorial 5) for JDO. Due to the way 
this is done, we cannot easily provide a generic Ant target for this, so 
you have to adapt this target to your project.

Tom


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