Update of /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv15892/src/java/core/org/krysalis/ruper2/protocols/impl
Modified Files:
VfsProtocolOperationsProvider.java
HttpClientProtocolOperationsProvider.java
Log Message:
1) Added the GumpTool [need to make it generic some time]
2) Forced VFSProvider to load VFS classes during construction, so we know early if they are missing & try soemthing else.
3) Started a VRLProtocol selector, so we can ignore links we cannot download.
Index: VfsProtocolOperationsProvider.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/impl/VfsProtocolOperationsProvider.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** VfsProtocolOperationsProvider.java 30 Oct 2003 05:15:53 -0000 1.5
--- VfsProtocolOperationsProvider.java 22 Nov 2003 00:16:15 -0000 1.6
***************
*** 23,26 ****
--- 23,32 ----
private FileSystemManager m_fsm = null;
+
+ public VfsProtocolOperationsProvider() {
+ // Force an early fail, not on in init, so can trap it
+ // and try another provider
+ Class causeAFailedLoadAtConstructionIfGoingToHappen = FileSystemManager.class;
+ }
public void init(ResourceUpdaterContext context) throws Exception {
Index: HttpClientProtocolOperationsProvider.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/core/org/krysalis/ruper2/protocols/impl/HttpClientProtocolOperationsProvider.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** HttpClientProtocolOperationsProvider.java 30 Oct 2003 05:15:53 -0000 1.4
--- HttpClientProtocolOperationsProvider.java 22 Nov 2003 00:16:15 -0000 1.5
***************
*** 11,18 ****
import org.krysalis.ruper2.protocols.Protocol;
import org.krysalis.ruper2.util.io.HtmlUtils;
- import org.krysalis.ruper2.util.io.IOUtils;
import org.krysalis.ruper2.util.net.VirtualResourceLocator;
import org.krysalis.ruper2.util.net.http.HttpClientUserAgent;
import org.krysalis.ruper2.util.select.ISelector;
/**
--- 11,18 ----
import org.krysalis.ruper2.protocols.Protocol;
import org.krysalis.ruper2.util.io.HtmlUtils;
import org.krysalis.ruper2.util.net.VirtualResourceLocator;
import org.krysalis.ruper2.util.net.http.HttpClientUserAgent;
import org.krysalis.ruper2.util.select.ISelector;
+ import org.krysalis.version.util.io.IOUtils;
/**
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
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.