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 2005/12/03 22:27:15 UTC
svn commit: r352020 -
/geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/main/CommandLine.java
Author: djencks
Date: Sat Dec 3 13:27:13 2005
New Revision: 352020
URL: http://svn.apache.org/viewcvs?rev=352020&view=rev
Log:
All 'root' configurations cannot have dependencies, not just the ones loaded by Daemon
Modified:
geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/main/CommandLine.java
Modified: geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/main/CommandLine.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/main/CommandLine.java?rev=352020&r1=352019&r2=352020&view=diff
==============================================================================
--- geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/main/CommandLine.java (original)
+++ geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/main/CommandLine.java Sat Dec 3 13:27:13 2005
@@ -21,6 +21,7 @@
import java.net.URI;
import java.util.Iterator;
import java.util.List;
+import java.util.Collections;
import javax.management.ObjectName;
import org.apache.commons.logging.Log;
@@ -110,6 +111,8 @@
URI configurationId = (URI) configuration.getAttribute("id");
ObjectName configName = Configuration.getConfigurationObjectName(configurationId);
configuration.setName(configName);
+ // todo: JNB for now we clear out the dependency list but we really need a way to resolve them
+ configuration.setAttribute("dependencies", Collections.EMPTY_LIST);
configuration.setAttribute("baseURL", classLoader.getResource("/"));
// boot the kernel