geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r567861 - /geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Date Mon, 20 Aug 2007 22:29:44 GMT
Author: jdillon
Date: Mon Aug 20 15:29:41 2007
New Revision: 567861

URL: http://svn.apache.org/viewvc?rev=567861&view=rev
Log:
Minor opt

Modified:
    geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy

Modified: geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy?rev=567861&r1=567860&r2=567861&view=diff
==============================================================================
--- geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
(original)
+++ geronimo/sandbox/server-gshell-launcher/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Mon Aug 20 15:29:41 2007
@@ -379,18 +379,16 @@
     
     private void processScripts() {
         def scanner = ant.fileScanner {
+            //
+            // FIXME: Make the base directory configurable
+            //
+            
             fileset(dir: "$geronimoHome/etc/rc.d") {
                 include(name: "${this.name}-*.groovy")
             }
         }
         
-        def vars = [
-            command: this,
-            log: log,
-            io: getIO(),
-        ]
-        
-        def binding = new Binding(vars)
+        def binding = new Binding([command: this, log: log, io, getIO()])
         def shell = new GroovyShell(binding)
         
         for (file in scanner) {



Mime
View raw message