diff --git a/openjpa-examples/openbooks/build.xml b/openjpa-examples/openbooks/build.xml
index 1250c1ef6..323d85890 100644
--- a/openjpa-examples/openbooks/build.xml
+++ b/openjpa-examples/openbooks/build.xml
@@ -74,15 +74,6 @@
-
-
-
-
-
-
-
-
@@ -113,11 +104,6 @@
The directory for OpenJPA libraries can not be located at ${openjpa.lib}.
Make sure openjpa.lib property value is correct in build.properties file.
-
- *** Error:
- The directory for Java2HTML libraries can not be located at ${java2html.lib}.
- Make sure java2html.lib property value is correct in build.properties file.
-
@@ -171,8 +157,7 @@
clean,
generate-canonical-model,
compile,
- enhance,
- generate-html-source">
+ enhance">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/openjpa-examples/openbooks/index.html b/openjpa-examples/openbooks/index.html
index 762d0e3a5..e8006f4c4 100644
--- a/openjpa-examples/openbooks/index.html
+++ b/openjpa-examples/openbooks/index.html
@@ -131,9 +131,6 @@ font-size:16px;
In JEE mode, OpenJPA library and JDBC drivers are configured in JEE server and hence variables in
this file are irrelevant.
- Edit load.properties
to specify load parameters such as number of
- Books etc. OpenBooks uses this data to populate a database with some sample data.
- This example file has some typical values. If you are satisfied with it, you can leave them as it is.
@@ -159,11 +156,9 @@ font-size:16px;
If you have built OpenBooks for JSE, then go to the target/openbooks
directory.
- Invoke the Ant script to populate the database.
- $ ant -f run.xml load
-
- Then invoke the Ant script to run OpenBooks
- $ ant -f run.xml run
+ Invoke the Ant script to run OpenBooks
+ $ ant -f run.xml
+
If you have build OpenBooks for JEE, a Web Application Archive openbooks.war
will be
created in target/openbooks
directory. You need to deploy openbooks.war
@@ -172,5 +167,17 @@ font-size:16px;
http://<app server host>:<port>/openbooks/
to access OpenBooks as an web application.
+
+
+
+ OpenBooks checks for existing data at first connection to the database.
+ If the database is empty, the schema is defined and populated with initial data.
+ However, you can explicitly populate the database in JSE build.
+ Edit load.properties
+ to specify load parameters such as number of Books etc. OpenBooks uses this data to populate a database
+ with some sample data. This example file has some typical values. If you are satisfied with it,
+ you can leave them as it is. Then invoke the Ant script
+ $ ant -f run.xml load
+