THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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.xmldefault settings in "build.properties".)
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.
- set "widget.deploy.dir=" to the "deploy" folder of the deployed application, e.g. "tomcat/webapps/wookie/deploy"
- set "servletEngine.container.lib.dir" and "servletEngine.context.conf.dir" as described in the comments in build.properties
- complete the database connection details for your database starting from "wookie.persistence.manager.type", or simply uncomment to use the default MySQL database setup described above.
...