Scarab commit: svn commit: r11220 - trunk/site/xdocs/howto

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

Modified:
   trunk/site/xdocs/howto/build-howto.xml
   trunk/site/xdocs/howto/maven-build-howto.xml
   trunk/site/xdocs/howto/release-howto.xml

Log:
ENH - goal create-db is recommended to be called after package build of Scarab and without clean.

Modified: trunk/site/xdocs/howto/build-howto.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/site/xdocs/howto/build-howto.xml?view=diff&pathrev=11220&r1=11219&r2=11220
==============================================================================
--- trunk/site/xdocs/howto/build-howto.xml	(original)
+++ trunk/site/xdocs/howto/build-howto.xml	2012-05-04 01:51:51-0700
@@ -659,7 +659,7 @@
 </p>
 <source>
 
-	mvn clean initialize scarab:create-db
+	mvn initialize scarab:create-db
 
 </source>
 <p>
@@ -684,7 +684,7 @@
 </p>
 <p>
 NOTE: The create scripts will attempt to first drop your scarab database
-      and then recreate it. If you execute "mvn clean initialize scarab:create-db", all of your
+      and then recreate it. If you execute "mvn initialize scarab:create-db", all of your
       previous data in that database will be lost without warning!
 </p>
 <p>

Modified: trunk/site/xdocs/howto/maven-build-howto.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/site/xdocs/howto/maven-build-howto.xml?view=diff&pathrev=11220&r1=11219&r2=11220
==============================================================================
--- trunk/site/xdocs/howto/maven-build-howto.xml	(original)
+++ trunk/site/xdocs/howto/maven-build-howto.xml	2012-05-04 01:51:51-0700
@@ -4,7 +4,7 @@
 
 <properties>
     <title>How to Build Scarab</title>
-    <author email="opensource@memocomp">Johannes Höchstädter</author>
+    <author email="opensource@memocomp">Johannes Höchstädter</author>
 </properties>
 
 <body>
@@ -48,8 +48,8 @@
 
 <source>
 1:> cd $SCARAB_ROOT
-2:> mvn clean initialize scarab:create-db
-3:> mvn clean package
+2:> mvn clean package
+3:> mvn initialize scarab:create-db
 </source>
 
 This will setup the database and build Scarab's webapp in target/ directory.
@@ -62,7 +62,7 @@
 <subsection name="Generating Database">
 <p>
     You can generate your database by doing this:
-    <source>mvn clean initialize scarab:create-db</source>
+    <source>mvn initialize scarab:create-db</source>
     This will create in <code>/target/sql</code> the various SQL files 
     that you need.  It will also install the database for certain types 
     of databases.  

Modified: trunk/site/xdocs/howto/release-howto.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/site/xdocs/howto/release-howto.xml?view=diff&pathrev=11220&r1=11219&r2=11220
==============================================================================
--- trunk/site/xdocs/howto/release-howto.xml	(original)
+++ trunk/site/xdocs/howto/release-howto.xml	2012-05-04 01:51:51-0700
@@ -28,8 +28,8 @@
 	<p>
 	  Build and execute tests.
       <source>
-      mvn clean initialize scarab:create-db -Dscarab.database.build.mode=sample
-      mvn clean package -Dmaven.test.skip=true
+	  mvn clean package -Dmaven.test.skip=true
+      mvn initialize scarab:create-db -Dscarab.database.build.mode=sample
       mvn test
       </source>
 	</p>

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