Scarab commit: svn commit: r11217 - trunk/site/xdocs/databases/hypersonic.xml

[email protected] Fri, 4 May 2012 01:31:26 -0700 (PDT)
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: mcoss
Date: 2012-05-04 01:31:26-0700
New Revision: 11217

Modified:
   trunk/site/xdocs/databases/hypersonic.xml

Log:
ENH - Update for hypersonic database how to.

Modified: trunk/site/xdocs/databases/hypersonic.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/site/xdocs/databases/hypersonic.xml?view=diff&pathrev=11217&r1=11216&r2=11217
==============================================================================
--- trunk/site/xdocs/databases/hypersonic.xml	(original)
+++ trunk/site/xdocs/databases/hypersonic.xml	2012-05-04 01:31:26-0700
@@ -8,19 +8,14 @@
 
 <section name="Hypersonic">
 <p>
-I did some short tests only, using Scarab with a Hypersonic database in file mode and
-very basic settings, but it worked right from the start.
+Using Scarab with embedded Hypersonic/HSQL database is configured to work right from the start. 
+You don't need any special build configurations, e.g. a build.properties file.
 </p>
 <p>
-Everything you will need for a very basic installation, is already included into Scarab.
-</p>
-<p>
-Edit your build.properties and the property for database type to: 
-<source>scarab.database.type=hypersonic</source>
-</p>
-<p>
-Set all other necessary DB properties to point to your hypersonic DB, e.g.:
+Everything you need for the embedded database, is already included into Scarab, but if you still want your customized the build in some way,
+then you are still able to provide your own build.properties. "hypersonic" is the correct value for the database type. See the following snippet for a simple sample configuration:
 <source>
+scarab.database.type=hypersonic
 scarab.database.url=jdbc:hsqldb:file:/C:/test
 scarab.database.admin.username=SA
 scarab.database.admin.password=
@@ -29,11 +24,14 @@
 </source>
 </p>
 <p>
-Then run 
+In every case you need to run the following Maven commands in Scarab's root directory:
 <source>
-mvn clean package -Dmaven.test.skip=true
-mvn initialize scarab:create-db -Dscarab.database.build.mode=sample -DapplicationRoot=target/scarab
-</source> and it should work.
+mvn clean
+mvn package -Dmaven.test.skip=true
+mvn initialize scarab:create-db -Dscarab.database.build.mode=default -DapplicationRoot=target/scarab
+</source> 
+If you followed all steps above, you may run the embedded tomcat now, and you should be able to access Scarab
+using an embedded hypersonic database.
 </p>
 </section>
 </body>

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2957563