You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by mm...@apache.org on 2004/07/20 20:59:16 UTC

svn commit: rev 23095 - incubator/depot/trunk/update/src/java/org/apache/depot/update/impl

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;