geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r508653 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
Date Fri, 16 Feb 2007 23:25:06 GMT
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 = {



Mime
View raw message