stephan 2003/07/18 02:46:24
Modified: tools/src blocks-build.xsl Log: Exclude files, which should be copied, instead to include some files types explicit. Revision Changes Path 1.31 +13 -2 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.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- blocks-build.xsl 18 Jul 2003 08:59:19 -0000 1.30 +++ blocks-build.xsl 18 Jul 2003 09:46:24 -0000 1.31 @@ -35,6 +35,18 @@ </fileset> </path> + <!-- Files, which should no compiled or otherwise processed --> + <patternset id="unprocessed.sources"> + <exclude name="**/*.java"/> + <exclude name="**/*.xconf"/> + <exclude name="**/*.xroles"/> + <exclude name="**/*.xmap"/> + <exclude name="**/*.xpipe"/> + <exclude name="**/*.xlog"/> + <exclude name="**/*.xweb"/> + <exclude name="**/package.html"/> + </patternset> + <target name="init"> <xsl:for-each select="module/project[contains(@name,'cocoon-block-')]"> <xsl:variable name="block-name" select="substring-after(@name,'cocoon-block-')" /> @@ -294,8 +306,7 @@ <copy filtering="on" todir="{string('${build.blocks}')}/{$block-name}/dest"> <fileset dir="{string('${blocks}')}/{$block-name}/java"> - <include name="**/*.xsl"/> - <include name="**/*.js"/> + <patternset refid="unprocessed.sources"/> </fileset> </copy>