Sylvain Juge wrote:

It seems that when I load OJB, it doesn't automatically load the
repository_database.xml file  that is in the build/resources folder
on runtime. I've seen that OJB is able to work like that, but I don't
want to do it on runtime, just use static xml config files. Since i'm
an absolute newbie, and I use Eclipse with defaults settings, is
there anything special that I need to configure in order to make my
program use the repository files ??

When you use the ojb-blank project with default settings of Eclipse, then any Debug/Run configuration will be started in the project's top level folder. However the ojb-blank project is configured in such a way that the main class(es) are run from the build/resources subdirectory. So you should change your Debug/Run configuration' Working directory accordingly. Also, you need to call 'ant build' at least once before running the app, and everytime you've changed something in a non-Java source file, e.g. one of the repository xml files.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to