You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/02/17 00:25:06 UTC

svn commit: r508653 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy

Author: jdillon
Date: Fri Feb 16 15:25:06 2007
New Revision: 508653

URL: http://svn.apache.org/viewvc?view=rev&rev=508653
Log:
Add some detail about any straggling processes

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy?view=diff&rev=508653&r1=508652&r2=508653
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy (original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy Fri Feb 16 15:25:06 2007
@@ -210,8 +210,10 @@
         //
         // HACK: See whats been changed in the TCK/RI libs
         //
+        
         def watch = new org.apache.commons.lang.time.StopWatch()
         watch.start()
+        println ''
         println "TCK..."
         ant.exec(executable: 'svn', dir: tckLib.baseDir) {
             arg(line: "status")
@@ -226,6 +228,23 @@
             arg(line: "status")
         }
         println "Took: $watch"
+        
+        //
+        // HACK: Show what processes are left around afterwards
+        //
+        println ''
+        println 'Straggling processes:'
+        def lscmd = File.createTempFile('liststragglers', '.sh')
+        lscmd.deleteOnExit()
+        
+        lscmd.write(
+            """#!/bin/sh
+            ps -ef | grep anthill | grep -v com.urbancode.anthill3.main | grep -v grep
+            """
+        )
+        
+        ant.exec(executable: lscmd)
+        lscmd.delete()
     }
     
     def runtestsIteration = {