Vadim Gritsenko wrote:
#!/bin/bash
rm -fr ~/.m2/repository
Or:
rm -rf ~/.m2/repository/org/apache/cocoon
possibly yes. I'm still debating the usefulness of downloading
everything new each time. It was useful back in the days where existing
poms were updated, they seem to have this under control now.
cd src/cocoon-trunk
svn update
mvn clean install > ~/cocoon-build.log 2>&1
if [ "$?" -ne "0" ]; then
some_mail_foo_to_send_the_file_to_dev@
It's actually simple...
MAILFILE=/home/vadim/cocoon-test-mail-`date '+%Y%m%d'`.txt
echo "From: Vadim Gritsenko <[EMAIL PROTECTED]>" >
$MAILFILE
echo Subject: Cocoon-2.1.X Tests Failure `date '+%m/%d/%y'` >>
$MAILFILE
...
mail -t [email protected] < $MAILFILE
fi
Thanks!
Jorg