You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by lu...@apache.org on 2004/11/08 11:08:39 UTC
cvs commit: jakarta-slide/src/conf/webapp Domain.xml
luetzkendorf 2004/11/08 02:08:39
Modified: src/conf/webapp Domain.xml
Log:
usage of new properties expansion
Revision Changes Path
1.71 +8 -6 jakarta-slide/src/conf/webapp/Domain.xml
Index: Domain.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/conf/webapp/Domain.xml,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- Domain.xml 27 Oct 2004 10:31:44 -0000 1.70
+++ Domain.xml 8 Nov 2004 10:08:39 -0000 1.71
@@ -1,16 +1,18 @@
<?xml version="1.0"?>
<slide>
+ <property name="filespath">${org.apache.slide.webapp.rootpath}</property>
+
<namespace name="slide">
<definition>
<store name="tx">
<nodestore classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
- <parameter name="rootpath">store/metadata</parameter>
- <parameter name="workpath">work/metadata</parameter>
+ <parameter name="rootpath">${filespath}store/metadata</parameter>
+ <parameter name="workpath">${filespath}work/metadata</parameter>
<parameter name="defer-saving">true</parameter>
<parameter name="timeout">120</parameter>
</nodestore>
<sequencestore classname="org.apache.slide.store.txfile.FileSequenceStore">
- <parameter name="rootpath">store/sequence</parameter>
+ <parameter name="rootpath">${filespath}store/sequence</parameter>
</sequencestore>
<securitystore>
<reference store="nodestore"/>
@@ -25,8 +27,8 @@
<reference store="nodestore"/>
</revisiondescriptorstore>
<contentstore classname="org.apache.slide.store.txfile.TxFileContentStore">
- <parameter name="rootpath">store/content</parameter>
- <parameter name="workpath">work/content</parameter>
+ <parameter name="rootpath">${filespath}store/content</parameter>
+ <parameter name="workpath">${filespath}work/content</parameter>
<parameter name="defer-saving">true</parameter>
<parameter name="timeout">120</parameter>
</contentstore>
@@ -34,7 +36,7 @@
<!-- be sure to have Lucene in your classpath -->
<!--
<contentindexer classname="org.apache.slide.index.SampleTxtContainsIndexer">
- <parameter name="indexpath">./index</parameter>
+ <parameter name="indexpath">${filespath}index</parameter>
</contentindexer>
-->
</store>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org