geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Wanna build nightly too?
Date Fri, 03 Dec 2004 07:50:10 GMT
Hey Geronimo community!  You can help out by building Geronimo on your machine nightly.  

We try and keep Geronimo building on as many machines as possible, but it is a lot of work
maintaining so many process on so many boxes.  


SIMPLE APPROACH
------------------

The easiest way to help is to put this in a bash script and run it nightly from cron:

    (cd geronimo && svn update && maven )
    (cd openejb && cvs update -dP && maven )
    (cd tranql && cvs update -dP && maven )
    (cd tranql-connector && cvs update -dP && maven )

Note the parens "(...)" are required and are not there for aesthetics.  The commands assume
you have previously checked out the projects into the current working directory.  If not,
something like this will work:

    (svn co http://svn.apache.org/repos/asf/geronimo/trunk geronimo)
    (cvs -d :ext:dblevins@openejb.org:/scm/openejb co openejb)
    (cvs -d :ext:dblevins@cvs.codehaus.org:/scm/tranql co tranql)
    (cvs -d :ext:dblevins@cvs.codehaus.org:/scm/tranql co -d tranql-connector connector)

You'll have to adjust the CVSROOTs to use anoncvs if you are not a committer on any of the
above projects.


FULLY AUTOMATED APPROACH
---------------------------

If you don't like looking through build output and writing up emails to the list telling us
the build failed, you can add in the attached script and modify the above bash code to look
as follows.

    LOG="megabuild-$(date +%Y%m%d-%H%M).log"
    {
        (cd geronimo && svn update && maven )
        (cd openejb && cvs update -dP && maven )
        (cd tranql && cvs update -dP && maven )
        (cd tranql-connector && cvs update -dP && maven )
    } 2&> $LOG
    monitorlog $LOG scm@geronimo.apache.org && rm $LOG

Please try it out with a different email than scm@geronimo.apache.org before sending emails
to the scm list.

If you work up any fancy additions to this basic logic feel free to send them back to the
list.

-David

Mime
View raw message