cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans <jheym...@apache.org>
Subject Re: Releasing from trunk
Date Wed, 07 Feb 2007 21:15:45 GMT
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 <vadim@nagoya.apache.org>"      >  
> $MAILFILE
>     echo Subject: Cocoon-2.1.X Tests Failure `date '+%m/%d/%y'` >> 
> $MAILFILE
>     ...
>     mail -t dev@cocoon.apache.org < $MAILFILE
> 
>> fi

Thanks!


Jorg


Mime
View raw message