You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2006/04/13 22:14:35 UTC
svn commit: r393911 -
/geronimo/branches/1.1/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java
Author: djencks
Date: Thu Apr 13 13:14:33 2006
New Revision: 393911
URL: http://svn.apache.org/viewcvs?rev=393911&view=rev
Log:
fix some object name problems, this could use review
Modified:
geronimo/branches/1.1/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java
Modified: geronimo/branches/1.1/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java?rev=393911&r1=393910&r2=393911&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java (original)
+++ geronimo/branches/1.1/modules/deploy-jsr88/src/java/org/apache/geronimo/deployment/plugin/local/StartCommand.java Thu Apr 13 13:14:33 2006
@@ -31,7 +31,7 @@
import org.apache.geronimo.gbean.AbstractName;
/**
- * @version $Rev: 383519 $ $Date$
+ * @version $Rev:392614 $ $Date$
*/
public class StartCommand extends CommandSupport {
private final Kernel kernel;
@@ -67,12 +67,14 @@
configurationManager.startConfiguration(moduleID);
// Determine the child modules of the configuration
- List kids = loadChildren(kernel, objectName);
+ //TODO might be a hack
+ String configName = abstractName.getArtifact().toString();
+ List kids = loadChildren(kernel, configName);
// Build a response obect containg the started configuration and a list of it's contained modules
TargetModuleIDImpl id = new TargetModuleIDImpl(modules[i].getTarget(), objectName,
(String[]) kids.toArray(new String[kids.size()]));
- if (isWebApp(kernel, objectName)) {
+ if (isWebApp(kernel, configName)) {
id.setType(ModuleType.WAR);
}
if (id.getChildTargetModuleID() != null) {