Author: jleroux
Date: Mon Jul 18 07:51:10 2016
New Revision: 1753166
URL:
http://svn.apache.org/viewvc?rev=1753166&view=revLog:
Updates modified demos scripts
Modified:
ofbiz/trunk/tools/demo-backup/check-svn-update.sh
ofbiz/trunk/tools/demo-backup/trunk-manual.sh
Modified: ofbiz/trunk/tools/demo-backup/check-svn-update.sh
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/tools/demo-backup/check-svn-update.sh?rev=1753166&r1=1753165&r2=1753166&view=diff==============================================================================
--- ofbiz/trunk/tools/demo-backup/check-svn-update.sh (original)
+++ ofbiz/trunk/tools/demo-backup/check-svn-update.sh Mon Jul 18 07:51:10 2016
@@ -1,39 +1,24 @@
#!/bin/sh
-# check trunk for updates finally no longer done, restart each morning at 3
+# Restart each morning at 3
cd /home/ofbizDemo/trunk
-#svn st -u | grep '*'
-
-#if [ $? = 0 ]; then
- svn up
- ./ant stop
- ./ant clean-all
- ./ant load-demo
- ./ant svninfo
- #./ant start > console.log
- ./ant start-batch-secure
-#fi
-
-# check branch for updates
+svn up
+./gradlew "ofbiz --shutdown"
+./gradlew cleanAll
+./gradlew loadDefault
+./gradlew svnInfoFooter
+./gradlew "ofbizBackgroundSecure --start"
cd /home/ofbizDemo/branch13.7
-#svn st -u | grep '*'
-
-#if [ $? = 0 ]; then
- svn up
- ./ant stop -Dportoffset=10000
- ./ant clean-all
- ./ant load-demo
- ./ant svninfo
-# #./ant start -Dportoffset=10000 > console.log
- ./ant start-batch-secure -Dportoffset=10000
-#fi
+svn up
+./ant stop -Dportoffset=10000
+./ant clean-all
+./ant load-demo
+./ant svninfo
+./ant start-batch-secure -Dportoffset=10000
cd /home/ofbizDemo/branch12.4
-#svn st -u | grep '*'
-
-#if [ $? = 0 ]; then
svn up
tools/stopofbiz.sh
sleep 10
@@ -46,4 +31,3 @@ cd /home/ofbizDemo/branch12.4
./ant svninfo
sleep 10
nohup tools/startofbiz-secure.sh &
-#fi
Modified: ofbiz/trunk/tools/demo-backup/trunk-manual.sh
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/tools/demo-backup/trunk-manual.sh?rev=1753166&r1=1753165&r2=1753166&view=diff==============================================================================
--- ofbiz/trunk/tools/demo-backup/trunk-manual.sh (original)
+++ ofbiz/trunk/tools/demo-backup/trunk-manual.sh Mon Jul 18 07:51:10 2016
@@ -1,10 +1,8 @@
#!/bin/sh
-cd /home/ofbizDemo/trunk
-svn up
-./ant stop
-./ant clean-all
-./ant load-demo
-./ant svninfo
-./ant start-batch-secure
-
+cd /home/ofbizDemo/trunk && svn up
+./gradlew "ofbiz --shutdown"
+./gradlew cleanAll
+./gradlew loadDefault
+./gradlew svnInfoFooter
+./gradlew "ofbizBackgroundSecure --start"