Update of /var/cvs/speeltuin/nightly
In directory james.mmbase.org:/home/nightly/bin
Modified Files:
build.sh
Added Files:
copy-artifacts.sh version.sh
Log Message:
split of copying of artifacts, because I want to run that later (too), because
richtext must be build on another machine, because it it impossible to install
xsltproc on cvs.mmbase.org (which is, btw, ridiculous)
See also: http://cvs.mmbase.org/viewcvs/speeltuin/nightly
copy-artifacts.sh is new
version.sh is new
Index: build.sh
===================================================================
RCS file: /var/cvs/speeltuin/nightly/build.sh,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- build.sh 30 Jul 2008 21:55:39 -0000 1.20
+++ build.sh 20 Aug 2008 08:18:37 -0000 1.21
@@ -26,22 +26,10 @@
echo generating version, and some directories
-version=`date -u '+%Y-%m-%d'`
-cvsversionoption="-D"
-cvsversion=`date '+%Y-%m-%d %H:%M'`
-revision="-A"
-
-#version="MMBase-1.9.0.beta2"
-#cvsversion=
-#cvsversionoption="-r"
-#revision="MMBase-1_9_0_beta2"
-
-dir=${version}
+source version.sh
# UNSTABLE branch
-builddir="/home/nightly/builds/${dir}"
-mkdir -p ${builddir}
if [ 1 == 1 ] ; then
cd ${BUILD_HOME}/nightly-build/cvs/mmbase
@@ -52,7 +40,7 @@
echo > ${builddir}/messages.log 2> ${builddir}/errors.log
# removes all 'target' directories
# the same as ${MAVEN} multiproject:clean >> ${builddir}/messages.log 2>>
${builddir}/errors.log
- find . -type d -name target -print | xargs rm -rf
+ find . -type d -name target -print | xargs rm -rf >>
${builddir}/messages.log
pwd
echo "CVS" | tee -a ${builddir}/messages.log
@@ -77,12 +65,8 @@
((${MAVEN} multiproject:site | tee -a ${builddir}/messages.log) 3>&1 1>&2
2>&3 | tee -a ${builddir}/errors.log) 3>&1 1>&2 2>&3
fi
-echo Copying todays artifacts | tee -a ${builddir}/messages.log
-echo $HOME
-for i in `/usr/bin/find $HOME/.maven/repository/mmbase -mtime -1` ; do
- #echo copy $i to ${builddir} | tee -a ${builddir}/messages.log
- cp $i ${builddir}
-done
+
+copy-artifacts.sh
if [ 1 == 1 ] ; then
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs