Project

General

Profile

« Previous | Next » 

Revision 3014

Added by Duane Costa over 18 years ago

Correct problem with image files in skins sub-directories being corrupted by token filtering. The exclude and include tags needed to have relative paths that include sub-directories.

View differences:

build.xml
882 882
      <mkdir dir="${installdir}/style/skins/${skin-name}" />
883 883
      <copy todir="${installdir}/style/skins/${skin-name}" filtering="yes">
884 884
       <fileset dir="lib/style/skins/${skin-name}">
885
           <exclude name="*.png"/>
886
           <exclude name="*.gif"/>
887
           <exclude name="*.jpg"/>
885
           <exclude name="**/*.png"/>
886
           <exclude name="**/*.gif"/>
887
           <exclude name="**/*.jpg"/>
888 888
           <exclude name="**/CVS*"/>
889 889
           <exclude name="**/.#*"/>
890 890
       </fileset>
891 891
      </copy>
892 892
     <copy todir="${installdir}/style/skins/${skin-name}" filtering="no">
893 893
       <fileset dir="lib/style/skins/${skin-name}">
894
           <include name="*.png"/>
895
           <include name="*.gif"/>
896
           <include name="*.jpg"/>
894
           <include name="**/*.png"/>
895
           <include name="**/*.gif"/>
896
           <include name="**/*.jpg"/>
897 897
           <exclude name="**/CVS*"/>
898 898
           <exclude name="**/.#*"/>
899 899
       </fileset>

Also available in: Unified diff