jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r149270 - in incubator/jackrabbit/trunk: applications/test/repository.xml src/conf/repository.xml
Date Mon, 31 Jan 2005 16:38:45 GMT
Author: stefan
Date: Mon Jan 31 08:38:41 2005
New Revision: 149270

URL: http://svn.apache.org/viewcvs?view=rev&rev=149270
Log:
fixing repository.xml

Modified:
    incubator/jackrabbit/trunk/applications/test/repository.xml
    incubator/jackrabbit/trunk/src/conf/repository.xml

Modified: incubator/jackrabbit/trunk/applications/test/repository.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/applications/test/repository.xml?view=diff&r1=149269&r2=149270
==============================================================================
--- incubator/jackrabbit/trunk/applications/test/repository.xml (original)
+++ incubator/jackrabbit/trunk/applications/test/repository.xml Mon Jan 31 08:38:41 2005
@@ -21,6 +21,12 @@
             template; it is used to create the initial workspace if there's
             no workspace yet and for creating additional workspaces through
             the api
+
+            a SearchIndex element that is used for configuring per workspace
+            Indexing-related settings
+
+            a Versioning element that is used for configuring 
+            versioning-related settings
     -->
     <!ELEMENT Repository (FileSystem,Workspaces,Workspace,Versioning)>
 
@@ -80,8 +86,8 @@
       class CDATA #REQUIRED>
 
     <!--
-    the Versioning element specifies the location and persistence manager
-    that is used to store versions
+        the Versioning element configures the persistence manager
+        to be used for persisting version state
     -->
     <!ELEMENT Versioning (FileSystem, PersistenceManager)>
     <!ATTLIST Versioning
@@ -141,7 +147,7 @@
     -->
     <Versioning rootPath="${rep.home}/version">
         <!--
-            Configures the filesystem to use for versioning ofr the respective
+            Configures the filesystem to use for versioning for the respective
             persistence manager
         -->
         <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
@@ -149,8 +155,8 @@
         </FileSystem>
 
         <!--
-            Configures the perisistence manager to use for the versioning.
-            Please note, that the current versioning implementation is based on
+            Configures the perisistence manager to be used for persisting version state.
+            Please note that the current versioning implementation is based on
             a 'normal' persistence manager, but this could change in future
             implementations.
         -->

Modified: incubator/jackrabbit/trunk/src/conf/repository.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/conf/repository.xml?view=diff&r1=149269&r2=149270
==============================================================================
--- incubator/jackrabbit/trunk/src/conf/repository.xml (original)
+++ incubator/jackrabbit/trunk/src/conf/repository.xml Mon Jan 31 08:38:41 2005
@@ -21,6 +21,12 @@
             template; it is used to create the initial workspace if there's
             no workspace yet and for creating additional workspaces through
             the api
+
+            a SearchIndex element that is used for configuring per workspace
+            Indexing-related settings
+
+            a Versioning element that is used for configuring 
+            versioning-related settings
     -->
     <!ELEMENT Repository (FileSystem,Workspaces,Workspace)>
 
@@ -78,6 +84,15 @@
     <!ELEMENT SearchIndex (param*,FileSystem)>
     <!ATTLIST SearchIndex
       class CDATA #REQUIRED>
+
+    <!--
+        the Versioning element configures the persistence manager
+        to be used for persisting version state
+    -->
+    <!ELEMENT Versioning (FileSystem, PersistenceManager)>
+    <!ATTLIST Versioning
+      rootPath CDATA #REQUIRED
+    >
 ]>
 <!-- Example Repository Configuration File -->
 <Repository>
@@ -141,4 +156,30 @@
             </FileSystem>
         </SearchIndex>
     </Workspace>
+
+    <!--
+        Configures the versioning
+    -->
+    <Versioning rootPath="${rep.home}/version">
+        <!--
+            Configures the filesystem to use for versioning for the respective
+            persistence manager
+        -->
+        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+            <param name="path" value="${rep.home}/version"/>
+        </FileSystem>
+
+        <!--
+            Configures the perisistence manager to be used for persisting version state.
+            Please note that the current versioning implementation is based on
+            a 'normal' persistence manager, but this could change in future
+            implementations.
+        -->
+        <PersistenceManager class="org.apache.jackrabbit.core.state.mem.InMemPersistenceManager">
+            <param name="initialCapacity" value="10000"/>
+            <param name="loadFactor" value="0.3"/>
+            <param name="persistent" value="false"/>
+        </PersistenceManager>
+
+    </Versioning>
 </Repository>



Mime
View raw message