Date: 2004-11-07T22:19:31
   Editor: BrianLee <[EMAIL PROTECTED]>
   Wiki: Jakarta-Slide Wiki
   Page: WebDavConstructionKit
   URL: http://wiki.apache.org/jakarta-slide/WebDavConstructionKit

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -145,6 +145,35 @@
 
  '''5.wakeupPhysicalConnection:''' Activates a sleeping (passive) connection
 
+
+==== Domain.xml Configuration ====
+
+There are some changes you have to make to the domain.xml file.
+For more information on this file see DomainConfig
+
+{{{
+<store name="simple">
+    <parameter name="cache-mode">cluster</parameter>
+    <nodestore classname="org.apache.slide.store.simple.WebdavStoreAdapter">
+        <parameter 
name="callback-store">org.apache.slide.store.simple.WebdavFileStore</parameter>
+        <parameter name="rootpath">c:/tmp</parameter>
+    </nodestore>
+    ...
+</store>
+}}}
+
+{{{
+<nodestore classname="org.apache.slide.store.simple.WebdavStoreAdapter">
+}}}
+
+First the nodestore class reference must be changed to the above 
WebdavStoreAdapter
+
+{{{
+<parameter 
name="callback-store">org.apache.slide.store.simple.WebdavFileStore</parameter>
+}}}
+
+The "callback-store" parameter value must point to your WebdavFileStore 
implementation (remember your class must implement the BasicWebdavStore 
interface - as shown above). Here it points to the given WebdavFileStore 
example.
+
 ===== WebdavFileStore Example =====
 
[http://jakarta.apache.org/slide/wck/javadoc/org/apache/slide/simple/reference/WebdavFileStore.html
 org.apache.slide.simple.reference.WebdavFileStore] is the reference 
implementation (example) that you want to look at. The source is listed below - 
 
@@ -687,34 +716,3 @@
     }
 }
 }}}
-
-To get this working you have to make changes to the domain.xml file.
-For more information on this file see DomainConfig
-
-{{{
-<store name="simple">
-    <parameter name="cache-mode">cluster</parameter>
-    <nodestore classname="org.apache.slide.store.simple.WebdavStoreAdapter">
-        <parameter 
name="callback-store">org.apache.slide.store.simple.WebdavFileStore</parameter>
-        <parameter name="rootpath">c:/tmp</parameter>
-    </nodestore>
-    <contentstore>
-        <reference store="nodestore"/>
-    </contentstore>
-    <revisiondescriptorsstore>
-        <reference store="nodestore"/>
-    </revisiondescriptorsstore>
-    <revisiondescriptorstore>
-        <reference store="nodestore"/>
-    </revisiondescriptorstore>
-    <!-- comment this out when you want to use the locking from the memory 
store --> 
-    <lockstore>
-        <reference store="nodestore"/>
-    </lockstore>
-    <securitystore 
classname="org.apache.slide.store.mem.TransientSecurityStore"/>
-    <!-- uncomment this when you want to use the the locking from the memory 
store --> 
-    <!--lockstore classname="org.apache.slide.store.mem.TransientLockStore"/-->
-</store>
-<scope match="/files" store="simple"/>
-}}}
-

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to