r26728 - trunk/freenet/src/freenet/pluginmanager

[email protected]
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: toad
Date: 2009-04-10 22:40:05 +0000 (Fri, 10 Apr 2009)
New Revision: 26728

Modified:
   trunk/freenet/src/freenet/pluginmanager/PluginManager.java
Log:
Allow up to 5 minutes to download jar files during startup


Modified: trunk/freenet/src/freenet/pluginmanager/PluginManager.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/PluginManager.java	2009-04-10 22:35:37 UTC (rev 26727)
+++ trunk/freenet/src/freenet/pluginmanager/PluginManager.java	2009-04-10 22:40:05 UTC (rev 26728)
@@ -25,6 +25,8 @@
 import java.util.jar.Manifest;
 import java.util.zip.ZipException;
 
+import org.tanukisoftware.wrapper.WrapperManager;
+
 import freenet.client.HighLevelSimpleClient;
 import freenet.clients.http.PageMaker.THEME;
 import freenet.config.Config;
@@ -769,6 +771,7 @@
 			if(!pluginFile.exists() || pluginFile.length() == 0)
 				try {
 					System.err.println("Downloading plugin "+name);
+					WrapperManager.signalStarting(5*60*1000);
 					File tempPluginFile = null;
 					OutputStream pluginOutputStream = null;
 					InputStream pluginInputStream = null;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.