All,

Following-up on discussions about using Subversion as a WebDAV server
for OXF resources, I wanted to mention that I experimented a little
bit with Slide 2.0 beta and OXF. OXF does not yet have support for
WebDAV itself, but it has a built-in URLResourceManagerFactory which
allows it to access its resources through, for example, HTTP. Since
WebDAV is an extension of HTTP, OXF can access resources through a
WebDAV server such as Apache Slide (with anonymous access). For
example, try a configuration like this in your web.xml:

  <context-param>
    <param-name>oxf.resources.url.base</param-name>
    <param-value>http://localhost:8889/slide/files/resources</param-value>
  </context-param>
  <context-param>
    <param-name>oxf.resources.priority.1</param-name>
    <param-value>org.orbeon.oxf.resources.URLResourceManagerFactory</param-value>
  </context-param>

This allows update your application resources through a Slide
repository. OXF picks them up automatically as it detects that the
last modification date of files has changed.

Slide does not seem to be blazing fast at the moment, but this may be
a good enough option for development until Subversion supports the
last modified header and/or OXF supports WebDAV natively!

-Erik

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to