geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r891145 - in /geronimo/sandbox/failover: build.sh killall.sh
Date Wed, 16 Dec 2009 07:40:00 GMT
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



Mime
View raw message