cziegeler 2003/07/18 01:59:19
Modified: tools/src blocks-build.xsl
Log:
Allowing samples to have their own xconf patch: samplesxconf
Revision Changes Path
1.30 +7 -0 cocoon-2.1/tools/src/blocks-build.xsl
Index: blocks-build.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/tools/src/blocks-build.xsl,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- blocks-build.xsl 9 Jul 2003 15:36:27 -0000 1.29
+++ blocks-build.xsl 18 Jul 2003 08:59:19 -0000 1.30
@@ -193,6 +193,13 @@
<include name="{$block-name}/conf/**/*.samplesxpipe"
unless="unless.exclude.block.{$block-name}"/>
</xsl:for-each>
</xpatch>
+ <xpatch file="{string('${build.webapp}')}/WEB-INF/cocoon.xconf"
+ srcdir="{string('${blocks}')}">
+ <xsl:for-each select="project[contains(@name,'cocoon-block-')]">
+ <xsl:variable name="block-name"
select="substring-after(@name,'cocoon-block-')"/>
+ <include name="{$block-name}/conf/**/*.samplesxconf"
unless="unless.exclude.block.{$block-name}"/>
+ </xsl:for-each>
+ </xpatch>
</target>
</xsl:template>