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/23 05:14:13 UTC

svn commit: r510803 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy

Author: jdillon
Date: Thu Feb 22 20:14:12 2007
New Revision: 510803

URL: http://svn.apache.org/viewvc?view=rev&rev=510803
Log:
Add separator so I can grok the output

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy?view=diff&rev=510803&r1=510802&r2=510803
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy (original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy Thu Feb 22 20:14:12 2007
@@ -44,6 +44,12 @@
         body << text
     }
     
+    protected def separator() {
+        println ''
+        println '#' * 80
+        println ''
+    }
+    
     def execute() {
         def scriptFile = File.createTempFile('shell-executor', '.sh')
         scriptFile.deleteOnExit()
@@ -64,9 +70,13 @@
         
         ant.chmod(perm: 'u+x', file: scriptFile)
         try {
+            separator()
+            
             ant.exec(executable: scriptFile)
         }
         finally {
+            separator()
+            
             scriptFile.delete()
         }
     }