Hi Steve, Yes, you're right this is out of date - we replaced Hibernate with OpenJPA. The database connection details are now in build.properties. I'll update the docs.
S On 6 Sep 2010, at 12:03, Steve Nisbet wrote: > Hi Folks, > just going through what I thought would be a routine re-install of wookie on > another platform of ours, and I've noticed the documentation on the Wiki > seems perhaps a little out of date; or, and its quite possible - I'm missing > something. Unhelpfully all my notes from my first install are sat on a lovely > burned out hard drive. > > This is with respect to a copy of the latest trunk, the docs at: > http://incubator.apache.org/wookie/downloading-and-installing-wookie.html > mention > > The following will compile and run the server in Tomcat with a MySQL > database. The database tables will be set up automatically, however you must > have previously created a database called "widgetdb" with username "java" and > password "java". (If you want to change the database connection settings, > then you need to alter the scripts/mysql/hibernate.cfg.xml.) > > Edit the "build.properties" file as follows: > > * > > uncomment "project.using.mysql=true" and comment out > "project.using.derby=true" > > * > > set "servletEngine.webapp.dir=" to the location of your tomcat webapps > directory. > > and so on - however, I cannot find a copy of hibernate.cfg.xml (I recall you > were working to ditch Hibernate and have possibly missed a post or two on > that one), but... I cannot find reference to either /project.using.mysql/ or > /project.using.derby/ in the build.properties, which look substantially > different from the last time I installed Wookie from scratch. > > Can anyone advise. Best wishes and thanks > > Steve > > >
