You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ti...@apache.org on 2005/05/19 20:24:50 UTC
svn commit: r170978 - /cocoon/trunk/tools/src/blocks-build.xsl
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>