cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: r170978 - /cocoon/trunk/tools/src/blocks-build.xsl
Date Thu, 19 May 2005 18:24:50 GMT
Author: tim
Date: Thu May 19 11:24:50 2005
New Revision: 170978

URL: http://svn.apache.org/viewcvs?rev=170978&view=rev
Log:
Fix icon corruption in jars, please fine-tune if required.

Modified:
    cocoon/trunk/tools/src/blocks-build.xsl

Modified: cocoon/trunk/tools/src/blocks-build.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/tools/src/blocks-build.xsl?rev=170978&r1=170977&r2=170978&view=diff
==============================================================================
--- cocoon/trunk/tools/src/blocks-build.xsl (original)
+++ cocoon/trunk/tools/src/blocks-build.xsl Thu May 19 11:24:50 2005
@@ -57,10 +57,16 @@
         </fileset>
       </path>
 
-      <!-- Files, which should no compiled or otherwise processed -->
-      <patternset id="unprocessed.sources">
+      <!-- Text files, which should no compiled or otherwise processed -->
+      <patternset id="unprocessed.text-sources">
         <exclude name="**/*.java"/>
         <exclude name="**/package.html"/>
+        <exclude name="**/*.gif"/>
+      </patternset>
+
+      <!-- Binary files, which should no compiled or otherwise processed -->
+      <patternset id="unprocessed.binary-sources">
+        <include name="**/*.gif"/>
       </patternset>
 
       <macrodef name="test-include-block">
@@ -163,7 +169,13 @@
 
       <copy filtering="on" todir="${{build.blocks}}/@{{name}}/dest">
         <fileset dir="@{{dir}}/java">
-          <patternset refid="unprocessed.sources"/>
+          <patternset refid="unprocessed.text-sources"/>
+        </fileset>
+      </copy>
+
+      <copy filtering="off" todir="${{build.blocks}}/@{{name}}/dest">
+        <fileset dir="@{{dir}}/java">
+          <patternset refid="unprocessed.binary-sources"/>
         </fileset>
       </copy>
 



Mime
View raw message