geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r510803 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy
Date Fri, 23 Feb 2007 04:14:13 GMT
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()
         }
     }



Mime
View raw message