You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/07/21 19:27:14 UTC

svn commit: r424393 - /lenya/zone/bin/nightly-trunk.sh

Author: thorsten
Date: Fri Jul 21 10:27:14 2006
New Revision: 424393

URL: http://svn.apache.org/viewvc?rev=424393&view=rev
Log:
Removing cocoon from the nightly script since we are now using the 
cocoon that we deliver with lenya.

Modified:
    lenya/zone/bin/nightly-trunk.sh

Modified: lenya/zone/bin/nightly-trunk.sh
URL: http://svn.apache.org/viewvc/lenya/zone/bin/nightly-trunk.sh?rev=424393&r1=424392&r2=424393&view=diff
==============================================================================
--- lenya/zone/bin/nightly-trunk.sh (original)
+++ lenya/zone/bin/nightly-trunk.sh Fri Jul 21 10:27:14 2006
@@ -9,19 +9,14 @@
 Further you can invoke/prevent "svn update"
 and the building of cocoon/lenya.
 
-USAGE EXAMPLE:  nightlies.sh -u false -c false
+USAGE EXAMPLE:  nightlies.sh -u false 
 EXAMPLE RESULT: lenya site will be just builded.
 
-USAGE EXAMPLE:  nightlies.sh -u true -c false
+USAGE EXAMPLE:  nightlies.sh -u true 
 EXAMPLE RESULT: lenya site will be update to svn HEAD and builded.
 
-USAGE EXAMPLE:  nightlies.sh -u true -c true
-EXAMPLE RESULT: cocoon will be updated and builded. 
-lenya site will be update to svn HEAD and builded.
-
 Values are:
 -u = update = true|false
--c = cocoon = true|false
 
 Default is set to true, so if you use this script 
 without option we are making a full build round-trip 
@@ -38,37 +33,16 @@
 echo "starting date is " >> $logfile
 date >> $logfile
 update=true
-cocoon=true
 while [ -n "$1" ]; do
 case $1 in
     -h) help;exit 1;; # function help is called
     -u) update=$2;shift 2;; 
-    -c) cocoon=$2;shift 2;;
     --) shift;break;; # end of options
     -*) echo "error: no such option $1. -h for help.";exit 1;;
     *)  break;;
 esac
 done
 
-if [ $cocoon = true ]; then
-#update cocoon
-echo >> $logfile
-echo "#update (if not set to false) cocoon" >> $logfile
- cd /export/home/lenya/src/cocoon-2.1.x
- if [ $update = true ]; then
-  echo >> $logfile
-  echo "#svn up" >> $logfile
-  svn up >> $logfile 2>&1
-  echo "statusUpdate=$statusUpdate" >> $logfile
-  statusUpdate=$?
-  if [ ! $statusUpdate ]; then
-   subject="[lenya.trunk.update] cocoon svn update failed" 
-   message="Please resolve possible conflicts by hand login into the zone server and looking at /export/home/lenya/src/cocoon-2.1.x"
-   sendMsg "$subject" "$weblog" "$message"
-   exit 1
-  fi
- fi
-fi
 
 #update trunk & restart
 echo >> $logfile



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org