You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by un...@apache.org on 2004/03/27 23:41:02 UTC
cvs commit: cocoon-2.1/src/blocks/repository/conf sourcedescriptor.xconf
unico 2004/03/27 14:41:02
Modified: src/blocks/repository/conf sourcedescriptor.xconf
Log:
comment jdbc descriptor to allow building without databases block
Revision Changes Path
1.7 +6 -7 cocoon-2.1/src/blocks/repository/conf/sourcedescriptor.xconf
Index: sourcedescriptor.xconf
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/repository/conf/sourcedescriptor.xconf,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sourcedescriptor.xconf 6 Mar 2004 02:25:49 -0000 1.6
+++ sourcedescriptor.xconf 27 Mar 2004 22:41:02 -0000 1.7
@@ -16,10 +16,9 @@
-->
<xconf xpath="/cocoon" unless="component[@role='org.apache.cocoon.components.source.SourceDescriptor']">
- <component
- role="org.apache.cocoon.components.source.SourceDescriptor"
- class="org.apache.cocoon.components.source.impl.SourceDescriptorManager"
- logger="core.source.sourcedescriptor">
+ <component role="org.apache.cocoon.components.source.SourceDescriptor"
+ class="org.apache.cocoon.components.source.impl.SourceDescriptorManager"
+ logger="core.source.sourcedescriptor">
<sourceinspector class="org.apache.cocoon.components.source.impl.XPathSourceInspector">
<parameter name="namespace" value="http://xml.apache.org/cocoon/xdoc/1.0"/>
@@ -31,13 +30,13 @@
<sourceinspector class="org.apache.cocoon.components.source.impl.JPEGSourceInspector"/>
<sourceinspector class="org.apache.cocoon.components.source.impl.GIFSourceInspector"/>
+ <!-- You need to have databases block included to use this feature
<sourcedescriptor class="org.apache.cocoon.components.source.impl.SimpleJdbcSourceDescriptor">
- <!-- define your custom source properties here: -->
<property name="author" namespace="meta" />
- <property name="keyword" namespace="meta" />
- <!-- uses the personnel datasource from the database block for now -->
+ <property name="keyword" namespace="meta" />
<datasource>personnel</datasource>
</sourcedescriptor>
+ -->
</component>