You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2009/12/16 08:40:00 UTC

svn commit: r891145 - in /geronimo/sandbox/failover: build.sh killall.sh

Author: dblevins
Date: Wed Dec 16 07:39:58 2009
New Revision: 891145

URL: http://svn.apache.org/viewvc?rev=891145&view=rev
Log:
Coulple useful scripts for building

Added:
    geronimo/sandbox/failover/build.sh   (with props)
    geronimo/sandbox/failover/killall.sh   (with props)

Added: geronimo/sandbox/failover/build.sh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/failover/build.sh?rev=891145&view=auto
==============================================================================
--- geronimo/sandbox/failover/build.sh (added)
+++ geronimo/sandbox/failover/build.sh Wed Dec 16 07:39:58 2009
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+for n in load-beans controller-as-repo geronimo-tomcat-farm-controller failover-tomcat-demo; do
+    (cd $n && mvn clean install)
+done | tee build.log
\ No newline at end of file

Propchange: geronimo/sandbox/failover/build.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/failover/build.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/sandbox/failover/killall.sh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/failover/killall.sh?rev=891145&view=auto
==============================================================================
--- geronimo/sandbox/failover/killall.sh (added)
+++ geronimo/sandbox/failover/killall.sh Wed Dec 16 07:39:58 2009
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# kill all geronimo processes
+# may or may not work on your machine
+
+ps ax | grep 'java.*geronimo' | cut -c 1-5 | while read n; do kill $n; done

Propchange: geronimo/sandbox/failover/killall.sh
------------------------------------------------------------------------------
    svn:eol-style = native