Index: trunk/src/grails-app/conf/BootStrap.groovy
===================================================================
--- trunk/src/grails-app/conf/BootStrap.groovy	(revision 34)
+++ trunk/src/grails-app/conf/BootStrap.groovy	(revision 39)
@@ -5,19 +5,15 @@
     def init = { servletContext ->
 
-    println "**** BootStrap; GrailsUtil.environment: ${GrailsUtil.environment}"
+    println "**** BootStrap GrailsUtil.environment = ${GrailsUtil.environment}"
     
         switch (GrailsUtil.environment)
         {
             case "development":
-                        println "**** BootStrap detected development"
-                        configureForDevelopment()
+                        bootStrapDemoData()
                         break
             case "test":
-                        println "**** BootStrap detected test"
-                        configureForTest()
                         break
             case "production":
-                        println "**** BootStrap detected production"
-                        configureForProduction()
+                        bootStrapDemoData()
                         break 
         }
@@ -27,11 +23,9 @@
     def destroy = {
     }
-    
-    /*
-        Tasks to do when Grails is running in each environment.
-    */
-    void configureForDevelopment()
+
+    //Insert some demo/startup data.
+    void bootStrapDemoData()
     {
-        println "BootStrap configureForDevelopment() called"
+        println "BootStrapping demo data..."
     
         //TypeOfPersonGroup
@@ -50,9 +44,12 @@
         //Person
         new Person(personGroup:PersonGroup.get(1),
-                   firstName:"FirstNameTech1",
-                   lastName:"LastNameTech1").save()
+                   firstName:"Craig",
+                   lastName:"SuperTech").save()
         new Person(personGroup:PersonGroup.get(2),
                    firstName:"Joe",
                    lastName:"Samples").save()
+        new Person(personGroup:PersonGroup.get(1),
+                   firstName:"Production",
+                   lastName:"Mann").save()
                 
         //TaskGroup
@@ -82,4 +79,5 @@
         new EntryType(name:"Fault").save()
         new EntryType(name:"WorkDone").save()
+        new EntryType(name:"Production Report").save()
 
         //ModificationType
@@ -93,19 +91,7 @@
         new ModificationType(name:"AssignedToModified").save()
         new ModificationType(name:"NameModified").save()
-
-
+        
+        println "BootStrapping demo data...completed."
     
-    }
-    
-    //---------------------------------------------------------
-    void configureForTest()
-    {
-        println "BootStrap configureForTest() called"
-    }
-    
-    //---------------------------------------------------------
-    void configureForProduction()
-    {
-        println "BootStrap configureForProduction() called"
     }
 
Index: trunk/src/grails-app/conf/DataSource.groovy
===================================================================
--- trunk/src/grails-app/conf/DataSource.groovy	(revision 34)
+++ trunk/src/grails-app/conf/DataSource.groovy	(revision 39)
@@ -10,5 +10,9 @@
     cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
 }
-// environment specific settings
+
+//environment specific settings
+//create-drop:  drop tables and data between sessions, then insert from Bootstrap.
+//create:       drop data between sessions, can't explain the rest.
+//update:       keep data, update tables as required, keeps inserting from BootStrap.
 environments {
 	development {
@@ -26,6 +30,8 @@
 	production {
 		dataSource {
-			dbCreate = "update"
-			url = "jdbc:hsqldb:file:prodDb;shutdown=true"
+			//Delete dbCreate line after setup!
+            dbCreate = "create-drop"
+			//url = "jdbc:hsqldb:file:prodDb;shutdown=true"
+            url = "jdbc:hsqldb:mem:devDB"
 		}
 	}
