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/10/15 22:20:16 UTC
svn commit: r584894 -
/geronimo/server/trunk/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/StartServerCommand.groovy
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) {