I copied the demo.bat to demo.sh to run under Linux, initalially I was getting a strange java.lang.NoClassDefFoundError.
Then I realized it's caused by the Windows line endings of demo.bat. Also it'd be nice if the demo.bat references the on-line tutorial about
this demo: http://hibernate.bluemars.net/29.html ( I did not realize I need to change hibernate.properties until after I read that page). Anyway here is the demo.sh script:


#!/bin/sh
JDBC_DRIVER=/opt/pgsql/lib/postgresql-jdbc3-7.3.jar
java -cp .:$JDBC_DRIVER:./lib/commons-logging.jar:./lib/commons-collections.jar:./lib/commons-lang.jar:./lib/cglib.jar:./lib/bcel.jar:./lib/odmg.jar:./lib/jdom.jar:./lib/xml-apis.jar:./lib/xerces.jar:./lib/xalan.jar:./hibernate.jar cirrus.hibernate.eg.NetworkDemo




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel



Reply via email to