geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r584894 - /geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Date Mon, 15 Oct 2007 20:20:16 GMT
Author: jdillon
Date: Mon Oct 15 13:20:16 2007
New Revision: 584894

URL: http://svn.apache.org/viewvc?rev=584894&view=rev
Log:
Fixed start-server command after some changes to decouple plexus from gshell

Modified:
    geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy

Modified: geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy?rev=584894&r1=584893&r2=584894&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
(original)
+++ geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
Mon Oct 15 13:20:16 2007
@@ -22,6 +22,7 @@
 import org.apache.geronimo.gshell.command.CommandSupport
 import org.apache.geronimo.gshell.command.CommandException
 import org.apache.geronimo.gshell.command.annotation.CommandComponent
+import org.apache.geronimo.gshell.command.annotation.Requirement
 
 import org.apache.geronimo.gshell.clp.Option
 
@@ -29,7 +30,6 @@
 
 // Make sure we use our custom builder
 import org.apache.geronimo.commands.AntBuilder
-import org.codehaus.plexus.component.annotations.Requirement
 import org.apache.geronimo.gshell.shell.ShellInfo
 
 /**
@@ -284,7 +284,7 @@
             return
         }
         
-        def name = context.commandDescriptor.id
+        def name = id
         
         def scanner = ant.fileScanner {
             fileset(dir: basedir) {



Mime
View raw message