You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Christopher Cobb <ch...@wfinet.com> on 2006/09/21 14:02:43 UTC

forceBuilds.py

Andrew,

Where can I find the forceBuilds.py script you mention in your message?

Thanks.

cc

> -----Original Message-----
> From: Andrew Williams [mailto:andy@handyande.co.uk]
> Sent: Wednesday, August 23, 2006 6:56 AM
> To: Maven Users List
> Cc: continuum-users@maven.apache.org
> Subject: Re: XML-RPC scripts to kick off the continuum builds with
> subversion
> 
> apologies - wrong list for continuum :(
> 
> Andrew Williams wrote:
> > (Cross-posting so we can move this to the continuum users list)
> >
> > The python scripts are getting worked on. I am currently waiting for 2
> > or 3 patches to be committed (check JIRA) Once they are in I will tidy
> > it up further.
> >
> > I intend to fix it up completely to the java api, but it is difficult
> > without commit access.
> >
> > A
> >
> > p.s. yes, next I will work on the Java client side code, that is now
> > more out of date than the python :(
> >
> > Toli Kuznets wrote:
> >> To follow-up on an old thread from
> >> http://mail-archives.apache.org/mod_mbox/maven-
> users/200607.mbox/%3Cc38ad92d0607141624x6ffc7ec0uf74cbe94860df562@mail.gma
> il.com%3E
> >>
> >>
> >> I was forwarded a set of old python scripts (thanks Tom) that
> >> interface with Conntiuum using XML-RPC to force the builds.
> >>
> >> These are actually based on the code from
> >> http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-
> sandbox/continuum-python/
> >>
> >> However, i found that the calling code in python files does not
> >> correspond to the latest in java API:
> >> http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-
> xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/
> >>
> >>
> >> Anyway, i made some modifications to continuum.py to match the actual
> >> function names and # of params in the Java code, and wrote a simple
> >> script that just always forces all the builds.
> >>
> >> To make this work for those of you that want it, make these changes:
> >> 1. modify continuum.py to specify the right address for your
> >> continuum server
> >> 2. modify your <continuum>/app/conf/application.xml to enable XML-RPC
> >> and restart continuum
> >> 3. place the .py files somewhere (mine are in <svn-repo>/hooks
> >> directory)
> >> 3. modify your <svn-repo>/hooks/post-commit file to run the
> >> forceBuilds.py script
> >>
> >> enjoy.
> >>
> >> if someone with authority wants to add this to the sandbox directory,
> >> that'd be great.
> >>
> >> On 7/14/06, dan tran <da...@gmail.com> wrote:
> >>> you will need to get your svn's hook script's
> >>> postcommit/postcommit.bat to
> >>> call a jvm with your java app that
> >>> talk to continuum via XMLRPC.
> >>>
> >>> so the gut is the java code, not the script.
> >>>
> >>> Sorry I know this in theory only, but very comfortable it would work
> >>> this
> >>> way.
> >>
> >>
> >> --
> >> Toli Kuznets
> >> http://www.marketcetera.org: Open-Source Trading Platform
> >> download.run.trade.
> >> -----------------------------------------------------------------------
> -
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


-----------------------------------------
Attention:
Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity. The
information contained in this message and or attachments is
intended only for the person or entity to which it is addressed and
may contain confidential and/or privileged material.  If you
received this in error, please contact the sender and delete the
material from any system and destroy any copies.