From: <sim...@us...> - 2002-07-30 07:55:44
|
Update of /cvsroot/cdchamber/CDChamber/script In directory usw-pr-cvs1:/tmp/cvs-serv16479 Modified Files: continuousintegrate.sh Log Message: Use touch to let the files regerated. Index: continuousintegrate.sh =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/script/continuousintegrate.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** continuousintegrate.sh 30 Jul 2002 07:45:58 -0000 1.9 --- continuousintegrate.sh 30 Jul 2002 07:55:39 -0000 1.10 *************** *** 7,15 **** CLASSPATH=$PROJECT_LIB_DIR:$CLASSPATH ! export CLASSPATH BUILD_DIR cd $BUILD_DIR/CDChamber if [[ -n `cvs update -d 2>&1 | egrep -e '^U|^P|^A'` ]] then >${BUILD_DIR}/log/build.log #unit test will run because build.jar depends on build.test.run #while acceptance depends on jar file --- 7,17 ---- CLASSPATH=$PROJECT_LIB_DIR:$CLASSPATH ! export CLASSPATH BUILD_DIR cd $BUILD_DIR/CDChamber if [[ -n `cvs update -d 2>&1 | egrep -e '^U|^P|^A'` ]] then >${BUILD_DIR}/log/build.log + # Use touch to let the files re generated. + touch $BUILD_DIR/CDChamber/src/cdchamber.xsd #unit test will run because build.jar depends on build.test.run #while acceptance depends on jar file *************** *** 20,29 **** let build_number=$build_number+1 echo $build_number > $BUILD_DIR/log/build.number ! fi ! if [[ -n `grep 'BUILD FAILED' $BUILD_DIR/log/build.log` ]] ! then $BUILD_DIR/remote-mailx "Build Failed!" 2>&1 > /dev/null ! elif [[ -n `grep 'BUILD FAILED' $BUILD_DIR/log/build.log.old` ]] then $BUILD_DIR/remote-mailx "Build Fixed! Build Number:$build_number" 2>&1 > /dev/null --- 22,31 ---- let build_number=$build_number+1 echo $build_number > $BUILD_DIR/log/build.number ! fi ! if [[ -n `grep 'BUILD FAILED' $BUILD_DIR/log/build.log` ]] ! then $BUILD_DIR/remote-mailx "Build Failed!" 2>&1 > /dev/null ! elif [[ -n `grep 'BUILD FAILED' $BUILD_DIR/log/build.log.old` ]] then $BUILD_DIR/remote-mailx "Build Fixed! Build Number:$build_number" 2>&1 > /dev/null |