incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: rev 23095 - incubator/depot/trunk/update/src/java/org/apache/depot/update/impl
Date Tue, 20 Jul 2004 20:59:16 GMT
Author: mmay
Date: Tue Jul 20 13:59:15 2004
New Revision: 23095

Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ArtifactUpdaterContext.java
Log:
Added UpdaterConfig once again


Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ArtifactUpdaterContext.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ArtifactUpdaterContext.java
(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/impl/ArtifactUpdaterContext.java
Tue Jul 20 13:59:15 2004
@@ -21,6 +21,7 @@
 import org.apache.depot.common.util.SystemUtils;
 import org.apache.depot.update.ArtifactUpdaterOptions;
 import org.apache.depot.update.UpdateException;
+import org.apache.depot.update.config.UpdaterConfig;
 import org.apache.depot.update.protocols.DefaultProtocolOperationsManager;
 import org.apache.depot.update.protocols.ProtocolOperationsManager;
 import org.apache.depot.update.util.UpdateConstants;
@@ -46,6 +47,13 @@
 		}
 	}
 	
+	static {
+		// Configure from the shared XML file...
+		//:TODO: *Maybe* move later, or allow user to pass filename
+		// in order to override
+		UpdaterConfig.configure();
+	}
+
 	private ArtifactUpdaterContext.Identifier m_identifier = null;
 
 	private ProtocolOperationsManager m_protocolManager = null;

Mime
View raw message