jefft 2003/06/21 00:18:54
Modified: tools/src blocks-build.xsl Log: Add comments to cocoon.xconf snippets, not sitemap.xmap Revision Changes Path 1.23 +3 -3 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.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- blocks-build.xsl 21 Jun 2003 06:53:55 -0000 1.22 +++ blocks-build.xsl 21 Jun 2003 07:18:54 -0000 1.23 @@ -77,8 +77,7 @@ <target name="patch-conf" depends="init"> <xpatch file="{string('${build.webapp}')}/sitemap.xmap" - srcdir="{string('${blocks}')}" - addcomments="true"> + 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/**/*.xmap" unless="unless.exclude.block.{$block-name}"/> @@ -89,7 +88,8 @@ <xsl:for-each select="project[contains(@name,'cocoon-block-')]"> <xsl:variable name="block-name" select="substring-after(@name,'cocoon-block-')"/> <xpatch file="{string('${build.webapp}')}/WEB-INF/cocoon.xconf" - srcdir="{string('${blocks}')}"> + srcdir="{string('${blocks}')}" + addcomments="true"> <include name="{$block-name}/conf/**/*.xconf" unless="unless.exclude.block.{$block-name}"/> </xpatch> </xsl:for-each>