geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r352020 - /geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/main/CommandLine.java
Date Sat, 03 Dec 2005 21:27:15 GMT
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



Mime
View raw message