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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]