Re: derby examples
Re: derby examples
- Subject: Re: derby examples
- From: Francois Bientz <email@hidden>
- Date: Tue, 1 Apr 2008 22:57:45 +0200 (CEST)
Thank you Art,
My error : I added a (new) derby.properties files in the PetStoreWOJava WO project ... instead of editing the PetStoreWOJava/wo-resources/Resources/Properties file
franc
On Mar 30, 2008, at 10:12 PM, Francois Bientz wrote:
Should the EO (Derby) examples work for WO5.4.1 ?
I was able to get the ThinkMovies example to work, but it wasn't straightforward. The example project build paths and jar dependencies were incorrect. The name of the Derby bin
directory in the build path should be db-derby-10.2.2.0-bin. Only derby.jar is required.
But what must be written in this properties file and where put this file ?
The Properties file in the app project (e.g., ThinkMovies) should contain the following entry:
derby.system.home=/Users/<your_user_name>/Library/Databases/ derby-10.2.2.0/data/
You can test your installed Derby database (e.g., movies) in a Terminal session:
export DERBY_HOME=/Developer/Examples/JavaWebObjects/Databases/db- derby-10.2.2.0-bin
export JAVA_HOME=/Library/Java/Home
/Developer/Examples/JavaWebObjects/Databases/db-derby-10.2.2.0-bin/ frameworks/embedded/bin/ij.ksh
ij> connect 'jdbc:derby:/Users/<your_user_name>/Library/Databases/ derby-10.2.2.0/data/movies';
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden