cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r180111 - /cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl
Date Sun, 05 Jun 2005 16:59:59 GMT
Author: cziegeler
Date: Sun Jun  5 09:59:59 2005
New Revision: 180111

URL: http://svn.apache.org/viewcvs?rev=180111&view=rev
Log:
Fix bug in copying of samples: binary files were not excluded from filtering

Modified:
    cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl

Modified: cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl?rev=180111&r1=180110&r2=180111&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl (original)
+++ cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl Sun Jun  5 09:59:59 2005
@@ -315,8 +315,17 @@
             <available file="@{{dir}}/samples/sitemap.xmap"/>
             <then>
               <copy filtering="on" todir="${{build.webapp}}/samples/blocks/@{{name}}">
-                <fileset dir="@{{dir}}/samples"/>
+                <fileset dir="@{{dir}}/samples">
+                  <exclude name="**/*.gif"/>
+                  <exclude name="**/*.jpg"/>
+                </fileset>
                 <fileset dir="@{{dir}}/conf" includes="*.xsamples"/>
+              </copy>
+              <copy filtering="off" todir="${{build.webapp}}/samples/blocks/@{{name}}">
+                <fileset dir="@{{dir}}/samples">
+                  <include name="**/*.gif"/>
+                  <include name="**/*.jpg"/>
+                </fileset>
               </copy>
               <!-- copy sample classes -->
               <copy todir="${{build.webapp.classes}}" filtering="off">



Mime
View raw message