cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From step...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/webapp/samples/slide slide.xconf
Date Mon, 19 Aug 2002 08:51:25 GMT
stephan     2002/08/19 01:51:25

  Modified:    src/scratchpad/webapp/samples/slide slide.xconf
  Log:
  Use a XMLDescriptorStore instead of the hsql store, which
  got some problems with the transactions.
  
  Revision  Changes    Path
  1.10      +32 -2     xml-cocoon2/src/scratchpad/webapp/samples/slide/slide.xconf
  
  Index: slide.xconf
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/webapp/samples/slide/slide.xconf,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- slide.xconf	14 Aug 2002 09:35:36 -0000	1.9
  +++ slide.xconf	19 Aug 2002 08:51:25 -0000	1.10
  @@ -39,6 +39,7 @@
               a relational database engine written in Java, for more info:
               http://hsqldb.sourceforge.net/
               -->     
  +            <!--
               <store name="jdbc">
                   <nodestore classname="slidestore.reference.JDBCDescriptorsStore">
                       <parameter name="driver">org.hsqldb.jdbcDriver</parameter>
  @@ -65,6 +66,7 @@
                       <parameter name="password"></parameter>
                   </contentstore>
               </store>
  +            -->
   
               <!-- ### MySQL Configuration ###
               The following jdbc sample configuration uses the MySQL Database.
  @@ -119,7 +121,35 @@
               url:    jdbc:oracle:thin:@localhost:1521:slide
               -->
   
  -            <scope match="/" store="jdbc" />
  +            <!-- ### XML Configuration ###
  +            The following XML configuration uses the XMLDescriptorsStore for
  +            node, security, locks and revisions. For content the FileContentStore
  +            is used. 
  +            -->
  +            <store name="xml">
  +                <nodestore classname="slidestore.file.XMLFileDescriptorsStore">
  +                    <parameter name="rootpath">slide</parameter>
  +                </nodestore>
  +                <securitystore>
  +                    <reference store="nodestore" />
  +                </securitystore>
  +                <lockstore>
  +                    <reference store="nodestore" />
  +                </lockstore>
  +                <revisiondescriptorsstore>
  +                    <reference store="nodestore" />
  +                </revisiondescriptorsstore>
  +                <revisiondescriptorstore>
  +                    <reference store="nodestore" />
  +                </revisiondescriptorstore>
  +                <contentstore classname="slidestore.reference.FileContentStore">
  +                    <parameter name="rootpath">slide</parameter>
  +                    <parameter name="version">false</parameter>
  +                    <parameter name="resetBeforeStarting">false</parameter>
  +                </contentstore>
  +            </store>
  +
  +            <scope match="/" store="xml"/>
   
           </definition>
   
  @@ -159,7 +189,7 @@
               <!-- Users management -->
               <auto-create-users>true</auto-create-users>
    
  -           <!-- Default properties mapping -->
  +            <!-- Default properties mapping -->
               <default-property
                   namespace="http://jakarta.apache.org/slide/" name="password"
                   value="" role="user"/>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message