Sylvain Wallez wrote:
Stephen McConnell wrote:Richard Wallace wrote:
Sylvain Wallez is the guy who is working on this. I've been looking over the package but I havn't go too far (not much documetation the last time looked but I know Sylvain has been working on this). Have CC'ed Sylvain with the objective of pulling him into this discussion.
As far as I understand the discussion, the problem is to use some specific URL-schemes when Tomcat already has already set the set-only-once-per-JVM URL.setURLStreamHandlerFactory().
Correct.
The Excalibur SourceResolver (originated in Cocoon) and was meant just for this : provide a component that resolves an URI to a Source object, from which you can get an InputStream. Many implementations exist today to access files, URLs, classpath-resources, webdav servers, and even a CVS server.
I don't know how to integrate this in Merlin, but this may be what you're looking for.
My hunch is that sourceresolver is what we are looking for - my problem is understanding sourceresolver.
:-)
Have put in place a test case so that usage can be documented. Just at the moment running ant test does not seem to be firing the test case. But anyway - if we can get in place a working test case I can move forward with using sourceresolve in Merlin.
Cheers, Steve.
Cheers, Sylvain
-- Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]