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

forceBuilds.py

I'm sorry, my last message may have been directed to the wrong person.

Toli, are you the author of forceBuilds.py?  Can you tell me where I can
obtain a copy this script and any needed support files?

Thank you.

cc

> -----Original Message-----
> From: Toli Kuznets [mailto:toli@marketcetera.com]
> Sent: Tuesday, August 22, 2006 5:21 PM
> To: Maven Users List; Ken DeLong; Jonathan Polansky; Thomas Boyles
> Subject: XML-RPC scripts to kick off the continuum builds with subversion
> 
> 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.


-----------------------------------------
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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org